@@ -101,7 +101,7 @@ |
||
101 | 101 | * |
102 | 102 | * @param mixed $value |
103 | 103 | * |
104 | - * @return mixed |
|
104 | + * @return string |
|
105 | 105 | */ |
106 | 106 | protected function cast($value) |
107 | 107 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | 'example' => $values[0], |
43 | 43 | ]; |
44 | 44 | |
45 | - if ($type->isCollection()){ |
|
45 | + if ($type->isCollection()) { |
|
46 | 46 | $schema['type'] = 'array'; |
47 | 47 | $schema['items'] = $enumSchema; |
48 | 48 | } else { |