@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |
121 | - * @param mixed $distinct |
|
121 | + * @param string|null $distinct |
|
122 | 122 | * |
123 | 123 | * @return $this |
124 | 124 | */ |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | /** |
163 | 163 | * Apply offset and limit to the query. |
164 | 164 | * |
165 | - * @param $query |
|
165 | + * @param Builder $query |
|
166 | 166 | * @param \Illuminate\Http\Request $request |
167 | 167 | */ |
168 | 168 | protected function applyOffset($query, \Illuminate\Http\Request $request) |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | * Convert collection to the datatables structure. |
205 | 205 | * |
206 | 206 | * @param \Illuminate\Http\Request $request |
207 | - * @param array|Collection $collection |
|
207 | + * @param Collection $collection |
|
208 | 208 | * @param int $totalCount |
209 | 209 | * @param int $filteredCount |
210 | 210 | * |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | * @param ModelConfigurationInterface $model |
312 | 312 | * @param Request $request |
313 | 313 | * |
314 | - * @return bool |
|
314 | + * @return boolean|null |
|
315 | 315 | * |
316 | 316 | * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException |
317 | 317 | */ |
@@ -534,7 +534,7 @@ discard block |
||
534 | 534 | /** |
535 | 535 | * @param Request $request |
536 | 536 | * |
537 | - * @return null|string |
|
537 | + * @return string |
|
538 | 538 | */ |
539 | 539 | protected function getBackUrl(Request $request) |
540 | 540 | { |
@@ -66,9 +66,9 @@ discard block |
||
66 | 66 | * |
67 | 67 | * @param $root |
68 | 68 | * @param $parentId |
69 | - * @param $left |
|
69 | + * @param integer $left |
|
70 | 70 | * |
71 | - * @return mixed |
|
71 | + * @return integer |
|
72 | 72 | */ |
73 | 73 | protected function recursiveReorder($root, $parentId, $left) |
74 | 74 | { |
@@ -88,8 +88,8 @@ discard block |
||
88 | 88 | * |
89 | 89 | * @param $id |
90 | 90 | * @param $parentId |
91 | - * @param $left |
|
92 | - * @param $right |
|
91 | + * @param integer $left |
|
92 | + * @param integer $right |
|
93 | 93 | */ |
94 | 94 | protected function move($id, $parentId, $left, $right) |
95 | 95 | { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | - * @param mixed $value |
|
63 | + * @param string $value |
|
64 | 64 | * |
65 | 65 | * @return mixed |
66 | 66 | */ |
@@ -76,7 +76,7 @@ |
||
76 | 76 | /** |
77 | 77 | * Load Relations by this->name. |
78 | 78 | * @param Builder $query |
79 | - * @param $direction |
|
79 | + * @param string $direction |
|
80 | 80 | */ |
81 | 81 | protected function loadRelationOrder(Builder $query, $direction) |
82 | 82 | { |
@@ -107,7 +107,7 @@ |
||
107 | 107 | } |
108 | 108 | |
109 | 109 | /** |
110 | - * @return mixed |
|
110 | + * @return Badge|null |
|
111 | 111 | */ |
112 | 112 | public function getBadge() |
113 | 113 | { |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | } |
131 | 131 | |
132 | 132 | /** |
133 | - * @return string |
|
133 | + * @return integer |
|
134 | 134 | */ |
135 | 135 | public function getMaxDepth() |
136 | 136 | { |
@@ -360,7 +360,7 @@ discard block |
||
360 | 360 | } |
361 | 361 | |
362 | 362 | /** |
363 | - * @param \Illuminate\Database\Eloquent\Builder|Builder $query |
|
363 | + * @param \Illuminate\Database\Eloquent\Builder $query |
|
364 | 364 | */ |
365 | 365 | protected function modifyQuery(\Illuminate\Database\Eloquent\Builder $query) |
366 | 366 | { |
@@ -368,7 +368,7 @@ discard block |
||
368 | 368 | } |
369 | 369 | |
370 | 370 | /** |
371 | - * @return \Illuminate\Foundation\Application|mixed |
|
371 | + * @return TreeRepositoryInterface |
|
372 | 372 | * @throws \Exception |
373 | 373 | */ |
374 | 374 | protected function makeRepository() |
@@ -181,7 +181,7 @@ |
||
181 | 181 | } |
182 | 182 | |
183 | 183 | /** |
184 | - * @param mixed $defaultValue |
|
184 | + * @param string $defaultValue |
|
185 | 185 | * |
186 | 186 | * @return $this |
187 | 187 | */ |
@@ -40,9 +40,8 @@ discard block |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
43 | - * @param bool $sortable |
|
44 | 43 | * |
45 | - * @return $this |
|
44 | + * @return string |
|
46 | 45 | */ |
47 | 46 | public function getTitle() |
48 | 47 | { |
@@ -54,7 +53,6 @@ discard block |
||
54 | 53 | } |
55 | 54 | |
56 | 55 | /** |
57 | - * @param bool $sortable |
|
58 | 56 | * |
59 | 57 | * @return $this |
60 | 58 | */ |
@@ -79,7 +77,7 @@ discard block |
||
79 | 77 | |
80 | 78 | /** |
81 | 79 | * @param $url |
82 | - * @return string |
|
80 | + * @return EditableColumn |
|
83 | 81 | */ |
84 | 82 | public function setUrl($url) |
85 | 83 | { |
@@ -98,7 +96,7 @@ discard block |
||
98 | 96 | |
99 | 97 | /** |
100 | 98 | * @param $url |
101 | - * @return string |
|
99 | + * @return EditableColumn |
|
102 | 100 | */ |
103 | 101 | public function setEditableMode($mode) |
104 | 102 | { |