@@ -48,13 +48,13 @@ discard block  | 
                                                    ||
| 48 | 48 | |
| 49 | 49 | public function processNode(Node $methodCall, Scope $scope): array  | 
                                                        
| 50 | 50 |      { | 
                                                        
| 51 | -        if (! $methodCall instanceof MethodCall) { | 
                                                        |
| 51 | +        if (!$methodCall instanceof MethodCall) { | 
                                                        |
| 52 | 52 | return [];  | 
                                                        
| 53 | 53 | }  | 
                                                        
| 54 | 54 | |
| 55 | 55 | $type = $scope->getType($methodCall->var);  | 
                                                        
| 56 | 56 | |
| 57 | -        if (! (new ObjectType($this->commandBusClass))->isSuperTypeOf($type)->yes()) { | 
                                                        |
| 57 | +        if (!(new ObjectType($this->commandBusClass))->isSuperTypeOf($type)->yes()) { | 
                                                        |
| 58 | 58 | return [];  | 
                                                        
| 59 | 59 | }  | 
                                                        
| 60 | 60 | |
@@ -151,7 +151,7 @@ discard block  | 
                                                    ||
| 151 | 151 |          if ($type instanceof UnionType) { | 
                                                        
| 152 | 152 | return array_filter(  | 
                                                        
| 153 | 153 | $type->getTypes(),  | 
                                                        
| 154 | -                function (Type $type) { | 
                                                        |
| 154 | +                function(Type $type) { | 
                                                        |
| 155 | 155 | return $type instanceof TypeWithClassName;  | 
                                                        
| 156 | 156 | }  | 
                                                        
| 157 | 157 | );  |