Completed
Pull Request — master (#4)
by
unknown
05:33
created
src/ProxyMockFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     private function renderMethod(\ReflectionMethod $method)
42 42
     {
43
-        $methodBody = file_get_contents(__DIR__.'/Generator/method.tpl');
43
+        $methodBody = file_get_contents(__DIR__ . '/Generator/method.tpl');
44 44
 
45 45
         $modifier = '';
46 46
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             '<arguments>' => $this->getMethodParameters($method),
75 75
             '<argumentsCall>' => '' !== $argumentsCall ? $argumentsCall : null,
76 76
             '<return>' => $method->hasReturnType() && 'void' === $method->getReturnType()->getName() ? null : 'return ',
77
-            '<returnType>' => $method->hasReturnType() ? ': '.$method->getReturnType() : null
77
+            '<returnType>' => $method->hasReturnType() ? ': ' . $method->getReturnType() : null
78 78
         ]);
79 79
     }
80 80
 
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
                 sprintf('Class %s is final and can therefor not be proxied', $class->name)
173 173
             );
174 174
         } elseif ($class->isInterface()) {
175
-            $classDeclaration .= ' implements ' . $class->name .', ' . ProxyMockInterface::class;
175
+            $classDeclaration .= ' implements ' . $class->name . ', ' . ProxyMockInterface::class;
176 176
         } else {
177 177
             $classDeclaration .= ' extends ' . $class->name . ' implements ' . ProxyMockInterface::class;
178 178
         }
Please login to merge, or discard this patch.