Skip to content

Commit 07df90b

Browse files
committed
Style
1 parent e811617 commit 07df90b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/ReflectionClosure5Test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
use Foo\Bar as Baz;
44
use Foo\Baz\Qux;
55
use Foo\Baz\Qux\Forest;
6-
use Laravel\SerializableClosure\Support\ReflectionClosure;
76
use Tests\Fixtures\Model;
7+
use Laravel\SerializableClosure\Support\ReflectionClosure;
88

99
test('is short closure', function () {
1010
$f1 = fn () => 1;
@@ -165,7 +165,7 @@
165165
});
166166

167167
test('from static callable namespaces', function () {
168-
$f = Closure::fromCallable([new Model, 'staticMake']);
168+
$f = Closure::fromCallable([Model::class, 'staticMake']);
169169

170170
$e = 'static function (\Tests\Fixtures\Model $model): \Tests\Fixtures\Model
171171
{

0 commit comments

Comments
 (0)