@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | /** |
| 41 | 41 | * ClientLocal constructor. |
| 42 | 42 | * |
| 43 | - * @param $connection |
|
| 43 | + * @param Connection $connection |
|
| 44 | 44 | */ |
| 45 | 45 | public function __construct($connection) |
| 46 | 46 | { |
@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | /** |
| 269 | 269 | * Get a table gateway for the given table name |
| 270 | 270 | * |
| 271 | - * @param $tableName |
|
| 271 | + * @param string $tableName |
|
| 272 | 272 | * |
| 273 | 273 | * @return RelationalTableGatewayWithConditions |
| 274 | 274 | */ |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | * |
| 18 | 18 | * @author Welling Guzmán <[email protected]> |
| 19 | 19 | */ |
| 20 | -class EntryCollection implements ResponseInterface, \IteratorAggregate , \Countable |
|
| 20 | +class EntryCollection implements ResponseInterface, \IteratorAggregate, \Countable |
|
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | 23 | * @var array |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | $rows = isset($data['rows']) ? $data['rows'] : []; |
| 48 | 48 | $items = []; |
| 49 | - foreach($rows as $row) { |
|
| 49 | + foreach ($rows as $row) { |
|
| 50 | 50 | $items[] = new Entry($row); |
| 51 | 51 | } |
| 52 | 52 | |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | return $this->data[$name]; |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | - throw new \InvalidArgumentException('Invalid property: ' . $name); |
|
| 86 | + throw new \InvalidArgumentException('Invalid property: '.$name); |
|
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | /** |