Completed
Push — master ( e6acee...1b9949 )
by Chris
04:07
created
src/ReturnType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $typeReflection = $reflection->getReturnType();
31 31
 
32 32
         if ($typeReflection !== null) {
33
-            $typeName = (string)$typeReflection;
33
+            $typeName = (string) $typeReflection;
34 34
 
35 35
             if ($typeReflection->allowsNull()) {
36 36
                 $flags |= self::NULLABLE;
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      */
47 47
     public function __construct($typeName = null, $flags = self::COVARIANT)
48 48
     {
49
-        $flags = (int)$flags;
49
+        $flags = (int) $flags;
50 50
 
51 51
         parent::__construct($typeName, $flags, $flags & self::COVARIANT, $flags & self::CONTRAVARIANT);
52 52
     }
Please login to merge, or discard this patch.
src/ParameterType.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $typeReflection = $reflection->getType();
74 74
 
75 75
         if ($typeReflection !== null) {
76
-            $typeName = (string)$typeReflection;
76
+            $typeName = (string) $typeReflection;
77 77
 
78 78
             if ($typeReflection->allowsNull()) {
79 79
                 $flags |= self::NULLABLE;
@@ -90,13 +90,13 @@  discard block
 block discarded – undo
90 90
      */
91 91
     public function __construct($parameterName, $typeName = null, $flags = self::CONTRAVARIANT)
92 92
     {
93
-        $flags = (int)$flags;
93
+        $flags = (int) $flags;
94 94
 
95 95
         parent::__construct($typeName, $flags, $flags & self::COVARIANT, $flags & self::CONTRAVARIANT);
96 96
 
97
-        $this->parameterName = (string)$parameterName;
98
-        $this->isOptional = (bool)($flags & self::OPTIONAL);
99
-        $this->isVariadic = (bool)($flags & self::VARIADIC);
97
+        $this->parameterName = (string) $parameterName;
98
+        $this->isOptional = (bool) ($flags & self::OPTIONAL);
99
+        $this->isVariadic = (bool) ($flags & self::VARIADIC);
100 100
     }
101 101
 
102 102
     /**
Please login to merge, or discard this patch.