@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | if ($key == 'container') { |
| 99 | 99 | $this->{$key} = new ContainerEntity($value); |
| 100 | 100 | } else if ($key == 'fetch') { |
| 101 | - foreach($value as $fetch) { |
|
| 101 | + foreach ($value as $fetch) { |
|
| 102 | 102 | $this->{$key}[] = new FetchEntity($fetch); |
| 103 | 103 | } |
| 104 | 104 | } else { |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | unset($return["container"]["unknown_fields"]); |
| 167 | 167 | |
| 168 | 168 | $return["container"]["volumes"] = []; |
| 169 | - foreach($this->container->volumes as $volume) { |
|
| 169 | + foreach ($this->container->volumes as $volume) { |
|
| 170 | 170 | $fields = (array) $volume + (array) $volume->unknown_fields; |
| 171 | 171 | unset($fields["unknown_fields"]); |
| 172 | 172 | $return["container"]["volumes"][] = $fields; |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | } |
| 175 | 175 | |
| 176 | 176 | $return["fetch"] = []; |
| 177 | - foreach($this->fetch as $fetch) { |
|
| 177 | + foreach ($this->fetch as $fetch) { |
|
| 178 | 178 | $fields = (array) $fetch + (array) $fetch->unknown_fields; |
| 179 | 179 | unset($fields["unknown_fields"]); |
| 180 | 180 | $return["fetch"][] = $fields; |