@@ -32,6 +32,9 @@ |
||
| 32 | 32 | protected $changed = []; |
| 33 | 33 | protected $fetched = []; |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param Mapper $mapper |
|
| 37 | + */ |
|
| 35 | 38 | public function __construct($mapper, $definition, array $data = []) |
| 36 | 39 | { |
| 37 | 40 | $this->mapper = $mapper; |
@@ -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 |