@@ -18,7 +18,7 @@ |
||
18 | 18 | public function add($object) |
19 | 19 | { |
20 | 20 | if (is_string($object)) { |
21 | - $object = [ $object ]; |
|
21 | + $object = [$object]; |
|
22 | 22 | } |
23 | 23 | if (!is_object($object) && !is_array($object)) { |
24 | 24 | throw new HttpResponseException('You can add only object'); |