@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | throw new \InvalidArgumentException("Malformed type provided: " . $type); |
44 | 44 | } |
45 | 45 | $generics = []; |
46 | - if(isset($matches['genericList'])) { |
|
46 | + if (isset($matches['genericList'])) { |
|
47 | 47 | $generics = self::parseGenericList(trim($matches['genericList'])); |
48 | 48 | } |
49 | 49 | |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | |
57 | 57 | private static function parseGenericList($genericList) { |
58 | 58 | $generics = []; |
59 | - while($genericList) { |
|
59 | + while ($genericList) { |
|
60 | 60 | if (1 !== \preg_match(self::OPEN_PATTERN, $genericList, $matches)) { |
61 | 61 | throw new \InvalidArgumentException("Malformed subType provided: " . $genericList); |
62 | 62 | } |