← All changes
|
vendor_prefixed/twig/symfony/polyfill-mbstring/bootstrap.php
+6
-6
4.2.0-beta1
→
3.35.0-dev4
View file →
| @@ -244,39 +244,39 @@ | ||
| 244 | 244 | return p\Mbstring::mb_str_split($string, $length, $encoding); |
| 245 | 245 | } |
| 246 | 246 | } |
| 247 | 247 | if (!\function_exists('ElementorDeps\\mb_str_pad')) { |
| 248 | - function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = \STR_PAD_RIGHT, ?string $encoding = null) | |
| 248 | + function mb_str_pad(string $string, int $length, string $pad_string = ' ', int $pad_type = \STR_PAD_RIGHT, ?string $encoding = null) : string | |
| 249 | 249 | { |
| 250 | 250 | return p\Mbstring::mb_str_pad($string, $length, $pad_string, $pad_type, $encoding); |
| 251 | 251 | } |
| 252 | 252 | } |
| 253 | 253 | if (!\function_exists('ElementorDeps\\mb_ucfirst')) { |
| 254 | - function mb_ucfirst(string $string, ?string $encoding = null) | |
| 254 | + function mb_ucfirst(string $string, ?string $encoding = null) : string | |
| 255 | 255 | { |
| 256 | 256 | return p\Mbstring::mb_ucfirst($string, $encoding); |
| 257 | 257 | } |
| 258 | 258 | } |
| 259 | 259 | if (!\function_exists('ElementorDeps\\mb_lcfirst')) { |
| 260 | - function mb_lcfirst(string $string, ?string $encoding = null) | |
| 260 | + function mb_lcfirst(string $string, ?string $encoding = null) : string | |
| 261 | 261 | { |
| 262 | 262 | return p\Mbstring::mb_lcfirst($string, $encoding); |
| 263 | 263 | } |
| 264 | 264 | } |
| 265 | 265 | if (!\function_exists('ElementorDeps\\mb_trim')) { |
| 266 | - function mb_trim(string $string, ?string $characters = null, ?string $encoding = null) | |
| 266 | + function mb_trim(string $string, ?string $characters = null, ?string $encoding = null) : string | |
| 267 | 267 | { |
| 268 | 268 | return p\Mbstring::mb_trim($string, $characters, $encoding); |
| 269 | 269 | } |
| 270 | 270 | } |
| 271 | 271 | if (!\function_exists('ElementorDeps\\mb_ltrim')) { |
| 272 | - function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null) | |
| 272 | + function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null) : string | |
| 273 | 273 | { |
| 274 | 274 | return p\Mbstring::mb_ltrim($string, $characters, $encoding); |
| 275 | 275 | } |
| 276 | 276 | } |
| 277 | 277 | if (!\function_exists('ElementorDeps\\mb_rtrim')) { |
| 278 | - function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null) | |
| 278 | + function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null) : string | |
| 279 | 279 | { |
| 280 | 280 | return p\Mbstring::mb_rtrim($string, $characters, $encoding); |
| 281 | 281 | } |
| 282 | 282 | } |