Completed
Push — master ( 985ca9...e0892e )
by David
18s
created
src/Rules/TypeHints/ParameterDebugContext.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,7 @@
 block discarded – undo
42 42
             }
43 43
 
44 44
             return sprintf('In method "%s::%s", parameter $%s', $this->scope->getClassReflection()->getDisplayName(), $this->function->name->name, $this->parameter->getName());
45
-        }
46
-        elseif ($this->function instanceof Function_) {
45
+        } elseif ($this->function instanceof Function_) {
47 46
             return sprintf('In function "%s", parameter $%s', $this->function->name->name, $this->parameter->getName());
48 47
         }
49 48
         return 'Should not happen';
Please login to merge, or discard this patch.
src/Rules/TypeHints/FunctionDebugContext.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,7 @@
 block discarded – undo
37 37
             }
38 38
 
39 39
             return sprintf('In method "%s::%s",', $this->scope->getClassReflection()->getDisplayName(), $this->function->name->name);
40
-        }
41
-        elseif ($this->function instanceof Function_) {
40
+        } elseif ($this->function instanceof Function_) {
42 41
             return sprintf('In function "%s",', $this->function->name->name);
43 42
         }
44 43
         return 'Should not happen';
Please login to merge, or discard this patch.