Skip to content

Commit 497c2fd

Browse files
Fix cs
1 parent 3cc6af6 commit 497c2fd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Reflection/RequireExtension/RequireExtendsPropertiesClassReflectionExtension.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function hasProperty(ClassReflection $classReflection, string $propertyNa
1919
$classReflection,
2020
$propertyName,
2121
static fn (Type $type, string $propertyName): TrinaryLogic => $type->hasProperty($propertyName),
22-
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getProperty($propertyName, new OutOfClassScope())
22+
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getProperty($propertyName, new OutOfClassScope()),
2323
) !== null;
2424
}
2525

@@ -30,7 +30,7 @@ public function getProperty(ClassReflection $classReflection, string $propertyNa
3030
$classReflection,
3131
$propertyName,
3232
static fn (Type $type, string $propertyName): TrinaryLogic => $type->hasProperty($propertyName),
33-
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getProperty($propertyName, new OutOfClassScope())
33+
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getProperty($propertyName, new OutOfClassScope()),
3434
);
3535
if ($property === null) {
3636
throw new ShouldNotHappenException();
@@ -45,7 +45,7 @@ public function hasInstanceProperty(ClassReflection $classReflection, string $pr
4545
$classReflection,
4646
$propertyName,
4747
static fn (Type $type, string $propertyName): TrinaryLogic => $type->hasInstanceProperty($propertyName),
48-
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getInstanceProperty($propertyName, new OutOfClassScope())
48+
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getInstanceProperty($propertyName, new OutOfClassScope()),
4949
) !== null;
5050
}
5151

@@ -55,7 +55,7 @@ public function getInstanceProperty(ClassReflection $classReflection, string $pr
5555
$classReflection,
5656
$propertyName,
5757
static fn (Type $type, string $propertyName): TrinaryLogic => $type->hasInstanceProperty($propertyName),
58-
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getInstanceProperty($propertyName, new OutOfClassScope())
58+
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getInstanceProperty($propertyName, new OutOfClassScope()),
5959
);
6060
if ($property === null) {
6161
throw new ShouldNotHappenException();
@@ -70,7 +70,7 @@ public function hasStaticProperty(ClassReflection $classReflection, string $prop
7070
$classReflection,
7171
$propertyName,
7272
static fn (Type $type, string $propertyName): TrinaryLogic => $type->hasStaticProperty($propertyName),
73-
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getStaticProperty($propertyName, new OutOfClassScope())
73+
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getStaticProperty($propertyName, new OutOfClassScope()),
7474
) !== null;
7575
}
7676

@@ -80,7 +80,7 @@ public function getStaticProperty(ClassReflection $classReflection, string $prop
8080
$classReflection,
8181
$propertyName,
8282
static fn (Type $type, string $propertyName): TrinaryLogic => $type->hasStaticProperty($propertyName),
83-
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getStaticProperty($propertyName, new OutOfClassScope())
83+
static fn (Type $type, string $propertyName): ExtendedPropertyReflection => $type->getStaticProperty($propertyName, new OutOfClassScope()),
8484
);
8585
if ($property === null) {
8686
throw new ShouldNotHappenException();

0 commit comments

Comments
 (0)