diff --git a/components/string.rst b/components/string.rst index b4118aef113..68fde82de13 100644 --- a/components/string.rst +++ b/components/string.rst @@ -121,7 +121,7 @@ to make your code more concise:: use function Symfony\Component\String\s; // creates a ByteString object - $foo = s('\xfe\xff'); + $foo = s("\xfe\xff"); // creates a UnicodeString object $foo = s('अनुच्छेद');