@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * @copyright Copyright (c) 2016 ublaboo <[email protected]> |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | public function __construct(array $data) |
| 87 | 87 | { |
| 88 | 88 | foreach ($data as $key => $value) { |
| 89 | - $method = 'set' . str_replace('_', '', ucwords($key, '_')); |
|
| 89 | + $method = 'set'.str_replace('_', '', ucwords($key, '_')); |
|
| 90 | 90 | |
| 91 | 91 | if (!method_exists($this, $method)) { |
| 92 | 92 | throw new ApiRouteWrongPropertyException( |