@@ -14,6 +14,6 @@ |
||
14 | 14 | |
15 | 15 | public function isSatisfiedBy(ParsedAttribute $attribute): bool |
16 | 16 | { |
17 | - return (bool) ($attribute->attribute()->getTarget() & $this->target); |
|
17 | + return (bool) ($attribute->attribute()->getTarget()&$this->target); |
|
18 | 18 | } |
19 | 19 | } |
@@ -30,8 +30,7 @@ |
||
30 | 30 | |
31 | 31 | $classes = |
32 | 32 | is_array($objectOrClass) ? |
33 | - array_map(fn($class) => $this->reflectionClass($class), $objectOrClass) : |
|
34 | - [$this->reflectionClass($objectOrClass)]; |
|
33 | + array_map(fn($class) => $this->reflectionClass($class), $objectOrClass) : [$this->reflectionClass($objectOrClass)]; |
|
35 | 34 | |
36 | 35 | foreach ($classes as $objectOrClass) { |
37 | 36 | if (Attribute::TARGET_CLASS & $target) { |