Passed
Push — master ( da52d2...6a5403 )
by Anton
01:25
created
src/Parser.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -290,21 +290,21 @@  discard block
 block discarded – undo
290 290
                     throw new ValueException("value `{$value}` must be integer");
291 291
                 }
292 292
 
293
-                return (int)$value;
293
+                return (int) $value;
294 294
 
295 295
             case self::FLOAT:
296 296
                 if (!is_float($value)) {
297 297
                     throw new ValueException("value `{$value}` must be float");
298 298
                 }
299 299
 
300
-                return (float)$value;
300
+                return (float) $value;
301 301
 
302 302
             case self::BOOL:
303 303
                 if (!is_bool($value)) {
304 304
                     throw new ValueException("value `{$value}` must be boolean");
305 305
                 }
306 306
 
307
-                return (bool)$value;
307
+                return (bool) $value;
308 308
         }
309 309
 
310 310
         return $value;
@@ -372,11 +372,11 @@  discard block
 block discarded – undo
372 372
 
373 373
             case DocLexer::T_INTEGER:
374 374
                 $this->match([DocLexer::T_INTEGER]);
375
-                return (int)$this->lexer->token['value'];
375
+                return (int) $this->lexer->token['value'];
376 376
 
377 377
             case DocLexer::T_FLOAT:
378 378
                 $this->match([DocLexer::T_FLOAT]);
379
-                return (float)$this->lexer->token['value'];
379
+                return (float) $this->lexer->token['value'];
380 380
 
381 381
             case DocLexer::T_TRUE:
382 382
                 $this->match([DocLexer::T_TRUE]);
Please login to merge, or discard this patch.
src/AbstractAnnotation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
         $schema = static::SCHEMA;
34 34
 
35
-        array_walk_recursive($schema, function (&$v) {
35
+        array_walk_recursive($schema, function(&$v) {
36 36
             if (is_string($v) && class_exists($v)) {
37 37
                 $v = new $v;
38 38
             }
Please login to merge, or discard this patch.