diff --git a/src/Functions.php b/src/Functions.php index aefbc0d..9a8ef58 100644 --- a/src/Functions.php +++ b/src/Functions.php @@ -21,7 +21,7 @@ function str($string = null) { if (func_num_args() === 0) { - return new class() implements \Stringable { + return new class implements \Stringable { public function __call($method, $parameters) { return Str::$method(...$parameters);