@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | |
85 | 85 | /** |
86 | 86 | * Get instance move up url. |
87 | - * @return Route |
|
87 | + * @return string |
|
88 | 88 | */ |
89 | 89 | protected function moveUpUrl() |
90 | 90 | { |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | |
106 | 106 | /** |
107 | 107 | * Get instance move down url. |
108 | - * @return Route |
|
108 | + * @return string |
|
109 | 109 | */ |
110 | 110 | protected function moveDownUrl() |
111 | 111 | { |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
125 | - * @param mixed $distinct |
|
125 | + * @param string|null $distinct |
|
126 | 126 | * |
127 | 127 | * @return $this |
128 | 128 | */ |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | /** |
166 | 166 | * Apply offset and limit to the query. |
167 | 167 | * |
168 | - * @param $query |
|
168 | + * @param Builder $query |
|
169 | 169 | */ |
170 | 170 | protected function applyOffset($query) |
171 | 171 | { |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | /** |
183 | 183 | * Apply orders to the query. |
184 | 184 | * |
185 | - * @param $query |
|
185 | + * @param Builder $query |
|
186 | 186 | */ |
187 | 187 | protected function applyOrders($query) |
188 | 188 | { |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | /** |
248 | 248 | * Convert collection to the datatables structure. |
249 | 249 | * |
250 | - * @param array|Collection $collection |
|
250 | + * @param Collection $collection |
|
251 | 251 | * @param int $totalCount |
252 | 252 | * @param int $filteredCount |
253 | 253 | * |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Routing\Router; |
6 | 6 | use Request; |
7 | -use Route; |
|
8 | 7 | use Illuminate\Support\Collection; |
9 | 8 | use Illuminate\Database\Eloquent\Builder; |
10 | 9 | use SleepingOwl\Admin\Contracts\ModelConfigurationInterface; |
@@ -48,7 +48,7 @@ |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
51 | - * @return Collection|\SleepingOwl\Admin\Contracts\ActionInterface[] |
|
51 | + * @return ColumnFilterInterface[] |
|
52 | 52 | */ |
53 | 53 | public function all() |
54 | 54 | { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * @param array|string $scopes |
24 | 24 | * |
25 | - * @return $this |
|
25 | + * @return \SleepingOwl\Admin\Contracts\DisplayInterface |
|
26 | 26 | */ |
27 | 27 | public function set($scopes) |
28 | 28 | { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
51 | - * @return string |
|
51 | + * @return integer |
|
52 | 52 | */ |
53 | 53 | public function getSize() |
54 | 54 | { |
@@ -207,7 +207,7 @@ |
||
207 | 207 | * @deprecated 4.5.0 |
208 | 208 | * @see getElements() |
209 | 209 | * |
210 | - * @return Collection[] |
|
210 | + * @return Collection |
|
211 | 211 | */ |
212 | 212 | public function getItems() |
213 | 213 | { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | /** |
47 | 47 | * Move model in the $destination. |
48 | 48 | * |
49 | - * @param $destination -1 (move down) or 1 (move up) |
|
49 | + * @param integer $destination -1 (move down) or 1 (move up) |
|
50 | 50 | */ |
51 | 51 | protected function move($destination) |
52 | 52 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | /** |
81 | 81 | * @param string $editorId |
82 | 82 | * |
83 | - * @return bool |
|
83 | + * @return boolean|null |
|
84 | 84 | */ |
85 | 85 | public function loadEditor($editorId) |
86 | 86 | { |
@@ -283,7 +283,7 @@ |
||
283 | 283 | } |
284 | 284 | |
285 | 285 | /** |
286 | - * @param \Illuminate\Database\Eloquent\Builder|Builder $query |
|
286 | + * @param \Illuminate\Database\Eloquent\Builder $query |
|
287 | 287 | */ |
288 | 288 | protected function modifyQuery(\Illuminate\Database\Eloquent\Builder $query) |
289 | 289 | { |