mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-12-03 05:29:53 +09:00
upgrade to laravel 8.0
This commit is contained in:
committed by
Attila Jozsef Kerekes
parent
43f894b58d
commit
27f58c0866
2
vendor/symfony/string/AbstractString.php
vendored
2
vendor/symfony/string/AbstractString.php
vendored
@@ -245,7 +245,7 @@ abstract class AbstractString implements \Stringable, \JsonSerializable
|
||||
public function collapseWhitespace(): self
|
||||
{
|
||||
$str = clone $this;
|
||||
$str->string = trim(preg_replace('/(?:\s{2,}+|[^\S ])/', ' ', $str->string));
|
||||
$str->string = trim(preg_replace("/(?:[ \n\r\t\x0C]{2,}+|[\n\r\t\x0C])/", ' ', $str->string), " \n\r\t\x0C");
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user