Simplify PHP type cast documentation#155
Merged
dingo-d merged 1 commit intoWordPress:masterfrom Oct 30, 2025
Merged
Conversation
- 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>
jrfnl
approved these changes
Oct 29, 2025
dingo-d
approved these changes
Oct 30, 2025
Member
|
@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. |
Contributor
Author
|
I indeed forgot to update the main branch before creating the new one. Apologies for that.
👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As discussed in #154, this PR:
Kudos to @jrfnl for suggesting the text changes.
Fixes #154.