PluginProbe
WindPress – Tailwind CSS integration for WordPress / 3.2.90
WindPress – Tailwind CSS integration for WordPress v3.2.90
3.2.90 3.2.89 3.2.88 3.2.87 3.2.86 3.2.85 3.2.84 3.2.83 3.2.82 3.2.81 trunk 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.13 3.0.14 3.0.15 3.0.16 3.0.17 3.0.2 3.0.3 3.0.4 3.0.5 All 144 releases
← All changes | vendor/symfony/string/Resources/functions.php +5 -5 3.0.33.2.90 View file →
@@ -7,18 +7,18 @@
7 7 *
8 8 * For the full copyright and license information, please view the LICENSE
9 9 * file that was distributed with this source code.
10 10 */
11 -namespace WindPressPackages\Symfony\Component\String;
11 +namespace WindPressDeps\Symfony\Component\String;
12 12
13 13 if (!\function_exists(u::class)) {
14 - function u(?string $string = '') : UnicodeString
14 + function u(?string $string = ''): UnicodeString
15 15 {
16 16 return new UnicodeString($string ?? '');
17 17 }
18 18 }
19 19 if (!\function_exists(b::class)) {
20 - function b(?string $string = '') : ByteString
20 + function b(?string $string = ''): ByteString
21 21 {
22 22 return new ByteString($string ?? '');
23 23 }
24 24 }
@@ -25,10 +25,10 @@
25 25 if (!\function_exists(s::class)) {
26 26 /**
27 27 * @return UnicodeString|ByteString
28 28 */
29 - function s(?string $string = '') : AbstractString
29 + function s(?string $string = ''): AbstractString
30 30 {
31 31 $string = $string ?? '';
32 - return \preg_match('//u', $string) ? new UnicodeString($string) : new ByteString($string);
32 + return preg_match('//u', $string) ? new UnicodeString($string) : new ByteString($string);
33 33 }
34 34 }