Skip to content

Simplify PHP type cast documentation#155

Merged
dingo-d merged 1 commit intoWordPress:masterfrom
rodrigoprimo:update-type-casts-doc
Oct 30, 2025
Merged

Simplify PHP type cast documentation#155
dingo-d merged 1 commit intoWordPress:masterfrom
rodrigoprimo:update-type-casts-doc

Conversation

@rodrigoprimo
Copy link
Copy Markdown
Contributor

As discussed in #154, this PR:

  • Remove reference to deprecated (real) cast and PHP version-specific deprecation details.
  • Update code example to show correct/incorrect usage with (bool) and (boolean).

Kudos to @jrfnl for suggesting the text changes.

Fixes #154.

- Remove reference to deprecated (real) cast and PHP version-specific deprecation details.
- Update code example to show correct/incorrect usage with (bool) and (boolean).

Fixes 154.

Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
@dingo-d dingo-d merged commit 96d4aca into WordPress:master Oct 30, 2025
1 check passed
@rodrigoprimo rodrigoprimo deleted the update-type-casts-doc branch October 30, 2025 11:42
@jrfnl
Copy link
Copy Markdown
Member

jrfnl commented Oct 30, 2025

@rodrigoprimo Just noticed now this has been merged that this PR was branched off from a commit from two years ago with a dozen commits having been merged to the main branch since.... Any particular reason ? Might be a good habit to always update the main branch before creating a new branch.

@rodrigoprimo
Copy link
Copy Markdown
Contributor Author

I indeed forgot to update the main branch before creating the new one. Apologies for that.

Might be a good habit to always update the main branch before creating a new branch.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants