@@ -18,6 +18,9 @@ |
||
| 18 | 18 | protected $fetched = -1; |
| 19 | 19 | protected $iid = null; |
| 20 | 20 | |
| 21 | + /** |
|
| 22 | + * @param resource $statement |
|
| 23 | + */ |
|
| 21 | 24 | public function __construct($statement, $data, $iid, $charIn = null, $charOut = null) |
| 22 | 25 | { |
| 23 | 26 | $this->statement = $statement; |
@@ -378,7 +378,7 @@ |
||
| 378 | 378 | } |
| 379 | 379 | /** |
| 380 | 380 | * Group by a column (or columns) |
| 381 | - * @param string|array $column the column name (or names) to group by |
|
| 381 | + * @param string $column the column name (or names) to group by |
|
| 382 | 382 | * @return $this |
| 383 | 383 | */ |
| 384 | 384 | public function group($column) : self |
@@ -43,6 +43,10 @@ discard block |
||
| 43 | 43 | protected $changed = []; |
| 44 | 44 | protected $fetched = []; |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @param Mapper $mapper |
|
| 48 | + * @param Table $definition |
|
| 49 | + */ |
|
| 46 | 50 | public function __construct($mapper, $definition, array $data = []) |
| 47 | 51 | { |
| 48 | 52 | $this->mapper = $mapper; |
@@ -156,7 +160,7 @@ discard block |
||
| 156 | 160 | /** |
| 157 | 161 | * Get a collection of entities |
| 158 | 162 | * |
| 159 | - * @param TableQuery $iterator |
|
| 163 | + * @param TableQueryIterator $iterator |
|
| 160 | 164 | * @param Table $definition |
| 161 | 165 | * @return Collection |
| 162 | 166 | */ |