Completed
Pull Request — master (#5)
by David
02:42
created
src/ExtensionDefinition.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
         $returnTypeCode = '';
41 41
         $returnType = $this->reflectionMethod->getReturnType();
42 42
         if ($returnType) {
43
-            $allowsNull = $returnType->allowsNull() ? '?':'';
43
+            $allowsNull = $returnType->allowsNull() ? '?' : '';
44 44
             if ($returnType->isBuiltin()) {
45 45
                 $returnTypeCode = ': '.$allowsNull.$returnType;
46 46
             } else {
@@ -89,8 +89,8 @@  discard block
 block discarded – undo
89 89
             $returnTypeCode,
90 90
             '\\'.$this->reflectionMethod->getDeclaringClass()->getName(),
91 91
             $this->reflectionMethod->getName(),
92
-            $previousParameterCode ? '$previous': '',
93
-            implode('', array_map(function (Injection $injection) {
92
+            $previousParameterCode ? '$previous' : '',
93
+            implode('', array_map(function(Injection $injection) {
94 94
                 return ', '.$injection->getCode();
95 95
             }, $this->getInjections()))
96 96
         );
Please login to merge, or discard this patch.