@@ -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 | { |
@@ -159,10 +159,10 @@ |
||
159 | 159 | } |
160 | 160 | |
161 | 161 | if (is_bool($value)) { |
162 | - return $value ? 'true': 'false'; |
|
162 | + return $value ? 'true' : 'false'; |
|
163 | 163 | } |
164 | 164 | |
165 | - return (string)$value; |
|
165 | + return (string) $value; |
|
166 | 166 | } |
167 | 167 | |
168 | 168 | public static function getTypeClassname(string $class, string $type): string |