内核更新
This commit is contained in:
@@ -60,7 +60,7 @@ class Utils
|
||||
return $input;
|
||||
}
|
||||
if (is_scalar($input)) {
|
||||
return (string)$input;
|
||||
return (string) $input;
|
||||
}
|
||||
throw new \InvalidArgumentException(sprintf('%s only accepts strings or stream resources.', $caller));
|
||||
}
|
||||
@@ -72,4 +72,4 @@ class Utils
|
||||
return 2 < strlen($arg) && $char === $arg[0] && $char === $arg[strlen($arg) - 1];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user