| @@ -30,7 +30,7 @@ discard block | ||
| 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 | ||
| 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 | } | 
| @@ -73,7 +73,7 @@ discard block | ||
| 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 | ||
| 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 | /** |