Skip to content

Commit 2f426f0

Browse files
committed
bot: fix cs [skip ci]
1 parent e57d750 commit 2f426f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Persistence/ProxyGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public static function wrap(object $object): Proxy
5757
public static function wrapFactory(PersistentObjectFactory $factory): object
5858
{
5959
if ($factory instanceof PersistentProxyObjectFactory) {
60-
return self::generateClassFor($factory)::createLazyProxy(static function () use ($factory) { // @phpstan-ignore staticMethod.notFound
60+
return self::generateClassFor($factory)::createLazyProxy(static function() use ($factory) { // @phpstan-ignore staticMethod.notFound
6161
if (Configuration::instance()->inADataProvider() && $factory->isPersisting()) {
6262
throw new \LogicException('Cannot access to a persisted object inside a data provider.');
6363
}
@@ -72,7 +72,7 @@ public static function wrapFactory(PersistentObjectFactory $factory): object
7272

7373
$reflector = new \ReflectionClass($factory::class());
7474

75-
return $reflector->newLazyProxy(static function () use ($factory) {
75+
return $reflector->newLazyProxy(static function() use ($factory) {
7676
if (Configuration::instance()->inADataProvider() && $factory->isPersisting()) {
7777
throw new \LogicException('Cannot access to a persisted object inside a data provider.');
7878
}

0 commit comments

Comments
 (0)