@@ -40,7 +40,7 @@ discard block |
||
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 |
||
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 |
||
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 | } |