@@ -132,7 +132,7 @@ |
||
132 | 132 | foreach ($this->headers as $header => $values) { |
133 | 133 | $replace = true; |
134 | 134 | foreach ($values as $value) { |
135 | - $result[] = [ "$header: $value", $replace ]; |
|
135 | + $result[] = ["$header: $value", $replace]; |
|
136 | 136 | $replace = false; |
137 | 137 | } |
138 | 138 | } |
@@ -20,7 +20,7 @@ |
||
20 | 20 | public function add($object) |
21 | 21 | { |
22 | 22 | if (!is_object($object) && !is_array($object)) { |
23 | - $object = [ $object ]; |
|
23 | + $object = [$object]; |
|
24 | 24 | } |
25 | 25 | |
26 | 26 | if ($this->serializationRule !== ResponseBag::SINGLE_OBJECT) { |