@@ -13,7 +13,9 @@ |
||
| 13 | 13 | $data = []; |
| 14 | 14 | foreach ($array as $name => $value) { |
| 15 | 15 | $row = ['name' => $name, 'value' => $value]; |
| 16 | - if (isset($keys)) $row = array_merge($row, $keys); |
|
| 16 | + if (isset($keys)) { |
|
| 17 | + $row = array_merge($row, $keys); |
|
| 18 | + } |
|
| 17 | 19 | array_push($data, $row); |
| 18 | 20 | } |
| 19 | 21 | |
@@ -247,8 +247,8 @@ |
||
| 247 | 247 | /** |
| 248 | 248 | * Perform a HTTP Request |
| 249 | 249 | * |
| 250 | - * @param $method |
|
| 251 | - * @param $path |
|
| 250 | + * @param string $method |
|
| 251 | + * @param string $path |
|
| 252 | 252 | * @param array $params |
| 253 | 253 | * |
| 254 | 254 | * @return Entry|EntryCollection |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | /** |
| 48 | 48 | * ClientLocal constructor. |
| 49 | 49 | * |
| 50 | - * @param $connection |
|
| 50 | + * @param Connection $connection |
|
| 51 | 51 | */ |
| 52 | 52 | public function __construct($connection) |
| 53 | 53 | { |
@@ -246,6 +246,7 @@ discard block |
||
| 246 | 246 | |
| 247 | 247 | /** |
| 248 | 248 | * @inheritDoc |
| 249 | + * @param string $tableName |
|
| 249 | 250 | */ |
| 250 | 251 | public function createItem($tableName, array $data) |
| 251 | 252 | { |
@@ -265,6 +266,7 @@ discard block |
||
| 265 | 266 | |
| 266 | 267 | /** |
| 267 | 268 | * @inheritDoc |
| 269 | + * @param string $tableName |
|
| 268 | 270 | */ |
| 269 | 271 | public function updateItem($tableName, $id, array $data) |
| 270 | 272 | { |
@@ -195,6 +195,7 @@ discard block |
||
| 195 | 195 | |
| 196 | 196 | /** |
| 197 | 197 | * @inheritdoc |
| 198 | + * @param string $tableName |
|
| 198 | 199 | */ |
| 199 | 200 | public function createItem($tableName, array $data) |
| 200 | 201 | { |
@@ -206,6 +207,7 @@ discard block |
||
| 206 | 207 | |
| 207 | 208 | /** |
| 208 | 209 | * @inheritdoc |
| 210 | + * @param string $tableName |
|
| 209 | 211 | */ |
| 210 | 212 | public function updateItem($tableName, $id, array $data) |
| 211 | 213 | { |