fix:更新已知bug,优化代码
This commit is contained in:
@@ -48,7 +48,7 @@ final class Grapheme
|
||||
$start = \strlen($s) + $start;
|
||||
}
|
||||
|
||||
if (!is_scalar($s)) {
|
||||
if (!\is_scalar($s)) {
|
||||
$hasError = false;
|
||||
set_error_handler(function () use (&$hasError) { $hasError = true; });
|
||||
$next = substr($s, $start);
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
"minimum-stability": "dev",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-main": "1.26-dev"
|
||||
"dev-main": "1.27-dev"
|
||||
},
|
||||
"thanks": {
|
||||
"name": "symfony/polyfill",
|
||||
|
||||
Reference in New Issue
Block a user