Skip to content

Fix UnicodeString::before() example #12790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 10, 2019
Merged

Conversation

jdreesen
Copy link
Contributor

@jdreesen jdreesen commented Dec 9, 2019

If I'm not mistaken, the result of u('hello world')->before('o'); would be 'hell' instead of 'hell '.

@javiereguiluz
Copy link
Member

Good catch, thanks Jacob.

javiereguiluz added a commit that referenced this pull request Dec 10, 2019
This PR was merged into the 5.0 branch.

Discussion
----------

Fix `UnicodeString::before()` example

If I'm not mistaken, the result of `u('hello world')->before('o');` would be `'hell'` instead of `'hell '`.

Commits
-------

9322a00 Fix output of before() example
@javiereguiluz javiereguiluz merged commit 9322a00 into symfony:5.0 Dec 10, 2019
@jdreesen jdreesen deleted the patch-1 branch December 10, 2019 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants