@@ -81,15 +81,15 @@ |
||
| 81 | 81 | |
| 82 | 82 | switch ($type) { |
| 83 | 83 | case 'string': |
| 84 | - return (string)$value; |
|
| 84 | + return (string) $value; |
|
| 85 | 85 | case 'integer': |
| 86 | 86 | case 'smallint': |
| 87 | - return (int)$value; |
|
| 87 | + return (int) $value; |
|
| 88 | 88 | case 'boolean': |
| 89 | - return (bool)$value; |
|
| 89 | + return (bool) $value; |
|
| 90 | 90 | case 'decimal': |
| 91 | 91 | case 'float': |
| 92 | - return (float)$value; |
|
| 92 | + return (float) $value; |
|
| 93 | 93 | case 'date': |
| 94 | 94 | if ($value && $castDateTime) { |
| 95 | 95 | $value = $this->dateTimeFactory->createFromFormat($format ?? 'Y-m-d', $value); |