Completed
Pull Request — master (#5)
by Andrzej
02:46 queued 26s
created
src/Definition/Source/Autowiring.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
             return;
30 30
         }
31 31
 
32
-        $autowiring = function ($name) {
32
+        $autowiring = function($name) {
33 33
             $class = new \ReflectionClass($name);
34 34
 
35 35
             $constructor = $class->getConstructor();
Please login to merge, or discard this patch.
src/Definition/Source/PhpDocReader.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
     {
157 157
         $value = trim($value, ', ');
158 158
 
159
-        $isNumberOrBool = function (&$value) {
159
+        $isNumberOrBool = function(&$value) {
160 160
             if (is_numeric($value)) {
161 161
                 $value = (float) $value;
162 162
 
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
                 return true;
168 168
             }
169 169
 
170
-            $isBool = function (&$value) {
170
+            $isBool = function(&$value) {
171 171
                 if (strtolower($value) == 'true') {
172 172
                     $value = true;
173 173
 
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
             return $isBool($value);
187 187
         };
188 188
 
189
-        $isArrayOrOther = function (&$value) {
189
+        $isArrayOrOther = function(&$value) {
190 190
             if (substr($value, 0, 1) === '[' && substr($value, -1) === ']') {
191 191
                 $valuesArray = explode(',', substr($value, 1, -1));
192 192
                 $value = [];
Please login to merge, or discard this patch.