Skip to content

Commit 1e94ca1

Browse files
nikophilkbond
authored andcommitted
bot: fix cs [skip ci]
1 parent 1f82cfa commit 1e94ca1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FactoryCollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,9 @@ public function create(array|callable $attributes = []): array
147147
$factories = $this->all();
148148

149149
if (Configuration::instance()->flushOnce && $this->isRootFactory && $this->factory instanceof PersistentObjectFactory && $this->factory->isPersisting()) {
150-
$lastFactory = array_pop($factories);
150+
$lastFactory = \array_pop($factories);
151151
// @phpstan-ignore method.notFound (phpstan does not understand that we only have persistent factories here)
152-
$factories = array_map(static fn(Factory $f) => $f->notRootFactory(), $factories);
152+
$factories = \array_map(static fn(Factory $f) => $f->notRootFactory(), $factories);
153153
$factories[] = $lastFactory;
154154
}
155155

0 commit comments

Comments
 (0)