@@ -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 | } |
@@ -34,8 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | $classes = |
| 36 | 36 | is_array($objectOrClass) ? |
| 37 | - array_map(fn($class) => $this->reflectionClass($class), $objectOrClass) : |
|
| 38 | - [$objectOrClass]; |
|
| 37 | + array_map(fn($class) => $this->reflectionClass($class), $objectOrClass) : [$objectOrClass]; |
|
| 39 | 38 | |
| 40 | 39 | foreach ($classes as $objectOrClass) { |
| 41 | 40 | if (Attribute::TARGET_CLASS & $target) { |