Passed
Push — main ( a6da94...0d356a )
by Breno
01:59
created
src/Specification/AttributeTarget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/AttributesFactory.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.