@@ -95,7 +95,7 @@ |
||
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | - * @param $widget |
|
98 | + * @param string $widget |
|
99 | 99 | * |
100 | 100 | * @return \Closure |
101 | 101 | */ |
@@ -65,7 +65,7 @@ |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
68 | - * @return TabInterface[]|DisplayTabsCollection |
|
68 | + * @return \SleepingOwl\Admin\Form\FormElementsCollection |
|
69 | 69 | */ |
70 | 70 | public function getTabs() |
71 | 71 | { |
@@ -86,7 +86,7 @@ |
||
86 | 86 | } |
87 | 87 | |
88 | 88 | /** |
89 | - * @return $this|Custom|mixed |
|
89 | + * @return string |
|
90 | 90 | */ |
91 | 91 | public function render() |
92 | 92 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | protected $viewPath; |
13 | 13 | |
14 | 14 | /** |
15 | - * @param string|View $view |
|
15 | + * @param string $view |
|
16 | 16 | * |
17 | 17 | * @return $this |
18 | 18 | */ |
@@ -112,7 +112,7 @@ |
||
112 | 112 | } |
113 | 113 | |
114 | 114 | /** |
115 | - * @param string|Model $class |
|
115 | + * @param string|null $class |
|
116 | 116 | * @return ModelConfigurationInterface |
117 | 117 | */ |
118 | 118 | public function getModel($class) |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | /** |
72 | 72 | * FormDefault constructor. |
73 | 73 | * |
74 | - * @param array $elements |
|
74 | + * @param Element\Checkbox[] $elements |
|
75 | 75 | */ |
76 | 76 | public function __construct(array $elements = []) |
77 | 77 | { |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | * @deprecated 4.5.0 |
191 | 191 | * @see getElements() |
192 | 192 | * |
193 | - * @return Collection[] |
|
193 | + * @return FormElementsCollection |
|
194 | 194 | */ |
195 | 195 | public function getItems() |
196 | 196 | { |
@@ -122,7 +122,7 @@ |
||
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
125 | - * @param ControlButtonInterface $button |
|
125 | + * @param ControlButtonInterface $buttons |
|
126 | 126 | * |
127 | 127 | * @return $this |
128 | 128 | */ |
@@ -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 | * |
@@ -45,7 +45,7 @@ |
||
45 | 45 | /** |
46 | 46 | * @param ActionInterface $actions |
47 | 47 | * |
48 | - * @return $this |
|
48 | + * @return \SleepingOwl\Admin\Contracts\Display\DisplayInterface |
|
49 | 49 | */ |
50 | 50 | public function set($actions) |
51 | 51 | { |