8000 bug #13121 [String] Fix s() namespace (fancyweb) · symfony/symfony-docs@7537026 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7537026

Browse files
committed
bug #13121 [String] Fix s() namespace (fancyweb)
This PR was merged into the master branch. Discussion ---------- [String] Fix s() namespace Ref #13119 Commits ------- 4a52c6e [String] Fix s() namespace
2 parents 17a0fe7 + 4a52c6e commit 7537026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/string.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ to make your code more concise::
118118

119119
// the s() function creates a byte string or Unicode string
120120
// depending on the given contents
121-
use function Symfony\Component\String\u;
121+
use function Symfony\Component\String\s;
122122

123123
// creates a ByteString object
124124
$foo = s('\xfe\xff');

0 commit comments

Comments
 (0)
0