@@ -78,7 +78,7 @@ |
||
78 | 78 | public function __construct(array $data) |
79 | 79 | { |
80 | 80 | foreach ($data as $key => $value) { |
81 | - $method = 'set' . str_replace('_', '', ucwords($key, '_')); |
|
81 | + $method = 'set'.str_replace('_', '', ucwords($key, '_')); |
|
82 | 82 | |
83 | 83 | if (!method_exists($this, $method)) { |
84 | 84 | throw new ApiRouteWrongPropertyException( |