@@ -49,7 +49,6 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * Saves selects as a collection |
| 51 | 51 | * |
| 52 | - * @param array|string $select |
|
| 53 | 52 | * @return void |
| 54 | 53 | */ |
| 55 | 54 | protected function addSelectedColumns($columns) |
@@ -63,6 +62,9 @@ discard block |
||
| 63 | 62 | } |
| 64 | 63 | } |
| 65 | 64 | |
| 65 | + /** |
|
| 66 | + * @param string $relation |
|
| 67 | + */ |
|
| 66 | 68 | protected function getSelectForRelation($relation) |
| 67 | 69 | { |
| 68 | 70 | return $this->columns |
@@ -140,6 +142,9 @@ discard block |
||
| 140 | 142 | return $this; |
| 141 | 143 | } |
| 142 | 144 | |
| 145 | + /** |
|
| 146 | + * @param string $sorts |
|
| 147 | + */ |
|
| 143 | 148 | public function allowedSorts($sorts): self |
| 144 | 149 | { |
| 145 | 150 | $sorts = is_array($sorts) ? $sorts : func_get_args(); |