Skip to content

Commit 8b5c1d2

Browse files
committed
bot: fix cs [skip ci]
1 parent 8e202b4 commit 8b5c1d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FactoryCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function create(array|callable $attributes = []): array
151151
// @phpstan-ignore method.notFound (phpstan does not understand that we only have persistent factories here)
152152
$factories = \array_map(static fn(Factory $f) => $f->notRootFactory(), $factories);
153153

154-
if ($lastFactory !== null) {
154+
if (null !== $lastFactory) {
155155
$factories[] = $lastFactory;
156156
}
157157
}

0 commit comments

Comments
 (0)