Passed
Push — main ( bf32f3...46b74f )
by Breno
01:50
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
@@ -30,8 +30,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.