Passed
Push — master ( 4d697a...5246c3 )
by Ross
03:03
created
src/TacticianRuleSet.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,13 +49,13 @@  discard block
 block discarded – undo
49 49
 
50 50
     public function processNode(Node $methodCall, Scope $scope): array
51 51
     {
52
-        if (! $methodCall instanceof MethodCall || $methodCall->name->name !== 'handle') {
52
+        if (!$methodCall instanceof MethodCall || $methodCall->name->name !== 'handle') {
53 53
             return [];
54 54
         }
55 55
 
56 56
         $type = $scope->getType($methodCall->var);
57 57
 
58
-        if (! (new ObjectType($this->commandBusClass))->isSuperTypeOf($type)->yes()) {
58
+        if (!(new ObjectType($this->commandBusClass))->isSuperTypeOf($type)->yes()) {
59 59
             return [];
60 60
         }
61 61
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         if ($type instanceof UnionType) {
153 153
             return array_filter(
154 154
                 $type->getTypes(),
155
-                function (Type $type) {
155
+                function(Type $type) {
156 156
                     return $type instanceof TypeWithClassName;
157 157
                 }
158 158
             );
Please login to merge, or discard this patch.