From 4a52c6e1b004d6aab75714758afd22078e6eb728 Mon Sep 17 00:00:00 2001 From: fancyweb Date: Thu, 13 Feb 2020 08:58:02 +0100 Subject: [PATCH] [String] Fix s() namespace --- components/string.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/string.rst b/components/string.rst index 12e506d0136..b4118aef113 100644 --- a/components/string.rst +++ b/components/string.rst @@ -118,7 +118,7 @@ to make your code more concise:: // the s() function creates a byte string or Unicode string // depending on the given contents - use function Symfony\Component\String\u; + use function Symfony\Component\String\s; // creates a ByteString object $foo = s('\xfe\xff');