Test Setup Failed
Branch master (a63ea7)
by Daniel
02:41
created
Category
src/Type.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.