@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | */ |
| 10 | 10 | public function toModel($value) |
| 11 | 11 | { |
| 12 | - return (bool)$value; |
|
| 12 | + return (bool) $value; |
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | /** |
@@ -18,6 +18,6 @@ discard block |
||
| 18 | 18 | */ |
| 19 | 19 | public function toStorage($value) |
| 20 | 20 | { |
| 21 | - return (bool)$value; |
|
| 21 | + return (bool) $value; |
|
| 22 | 22 | } |
| 23 | 23 | } |
| 24 | 24 | \ No newline at end of file |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | */ |
| 10 | 10 | public function toModel($value) |
| 11 | 11 | { |
| 12 | - return (float)$value; |
|
| 12 | + return (float) $value; |
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | /** |
@@ -18,6 +18,6 @@ discard block |
||
| 18 | 18 | */ |
| 19 | 19 | public function toStorage($value) |
| 20 | 20 | { |
| 21 | - return (float)$value; |
|
| 21 | + return (float) $value; |
|
| 22 | 22 | } |
| 23 | 23 | } |
| 24 | 24 | \ No newline at end of file |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | */ |
| 10 | 10 | public function toModel($value) |
| 11 | 11 | { |
| 12 | - return (int)$value; |
|
| 12 | + return (int) $value; |
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | /** |
@@ -18,6 +18,6 @@ discard block |
||
| 18 | 18 | */ |
| 19 | 19 | public function toStorage($value) |
| 20 | 20 | { |
| 21 | - return (int)$value; |
|
| 21 | + return (int) $value; |
|
| 22 | 22 | } |
| 23 | 23 | } |
| 24 | 24 | \ No newline at end of file |
@@ -20,6 +20,6 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | public function toModel($value) |
| 22 | 22 | { |
| 23 | - return (string)$value; |
|
| 23 | + return (string) $value; |
|
| 24 | 24 | } |
| 25 | 25 | } |
| 26 | 26 | \ No newline at end of file |
@@ -9,7 +9,7 @@ discard block |
||
| 9 | 9 | */ |
| 10 | 10 | public function toModel($value) |
| 11 | 11 | { |
| 12 | - return (string)$value; |
|
| 12 | + return (string) $value; |
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | /** |
@@ -18,6 +18,6 @@ discard block |
||
| 18 | 18 | */ |
| 19 | 19 | public function toStorage($value) |
| 20 | 20 | { |
| 21 | - return (string)$value; |
|
| 21 | + return (string) $value; |
|
| 22 | 22 | } |
| 23 | 23 | } |
| 24 | 24 | \ No newline at end of file |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * @return \Closure |
| 37 | 37 | */ |
| 38 | 38 | protected function createDataFn() { |
| 39 | - return function (array $mapping, TypeConverter $typeConverter) { |
|
| 39 | + return function(array $mapping, TypeConverter $typeConverter) { |
|
| 40 | 40 | $props = []; |
| 41 | 41 | |
| 42 | 42 | foreach ($mapping as $name => $prop) { |