Completed
Pull Request — master (#76)
by Loren
02:21
created
src/ReflectionMethod.php 1 patch
Spacing   +4 added lines, -5 removed lines patch added patch discarded remove patch
@@ -96,12 +96,12 @@  discard block
 block discarded – undo
96 96
         $paramString = '';
97 97
         $identation  = str_repeat(' ', 4);
98 98
         foreach ($methodParameters as $methodParameter) {
99
-            $paramString .= "\n{$identation}" . $methodParameter;
99
+            $paramString .= "\n{$identation}".$methodParameter;
100 100
         }
101 101
 
102 102
         return sprintf(
103 103
             "%sMethod [ <user%s%s%s>%s%s%s %s method %s ] {\n  @@ %s %d - %d{$paramFormat}{$returnFormat}\n}\n",
104
-            $this->getDocComment() ? $this->getDocComment() . "\n" : '',
104
+            $this->getDocComment() ? $this->getDocComment()."\n" : '',
105 105
             $prototype ? ", overwrites {$prototypeClass}, prototype {$prototypeClass}" : '',
106 106
             $this->isConstructor() ? ', ctor' : '',
107 107
             $this->isDestructor() ? ', dtor' : '',
@@ -117,9 +117,8 @@  discard block
 block discarded – undo
117 117
             $this->getEndLine(),
118 118
             count($methodParameters),
119 119
             $paramString,
120
-            (   $returnType ?
121
-                ReflectionType::convertToDisplayType($returnType) :
122
-                'UNUSED: Prevents convertToDisplayType() being called.')
120
+            ($returnType ?
121
+                ReflectionType::convertToDisplayType($returnType) : 'UNUSED: Prevents convertToDisplayType() being called.')
123 122
         );
124 123
     }
125 124
 
Please login to merge, or discard this patch.