@@ -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 | { |
@@ -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 | { |
@@ -73,8 +73,8 @@ |
||
73 | 73 | protected function updateOrderFieldOnDelete() |
74 | 74 | { |
75 | 75 | static::orderModel() |
76 | - ->where($this->getOrderField(), '>', $this->getOrderValue()) |
|
77 | - ->decrement($this->getOrderField()); |
|
76 | + ->where($this->getOrderField(), '>', $this->getOrderValue()) |
|
77 | + ->decrement($this->getOrderField()); |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
@@ -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 | { |
@@ -8,10 +8,10 @@ |
||
8 | 8 | <?php $active = null; ?> |
9 | 9 | @foreach ($items as $label => $_tmp) |
10 | 10 | <?php |
11 | - if (is_null($active)) { |
|
12 | - $active = $label; |
|
13 | - } |
|
14 | - ?> |
|
11 | + if (is_null($active)) { |
|
12 | + $active = $label; |
|
13 | + } |
|
14 | + ?> |
|
15 | 15 | <li role="presentation" {!! ($active == $label) ? 'class="active"' : '' !!}><a href="#{{ md5($label) }}" aria-controls="{{ md5($label) }}" role="tab" data-toggle="tab">{{ $label }}</a></li> |
16 | 16 | @endforeach |
17 | 17 | </ul> |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | /** |
15 | 15 | * Class DisplayTable. |
16 | - |
|
17 | 16 | * @method Columns getColumns() |
18 | 17 | * @method $this setColumns(ColumnInterface $column, ... $columns) |
19 | 18 | * |
@@ -89,9 +89,9 @@ |
||
89 | 89 | parent::initialize(); |
90 | 90 | |
91 | 91 | $this->getRepository() |
92 | - ->setParentField($this->getParentField()) |
|
93 | - ->setOrderField($this->getOrderField()) |
|
94 | - ->setRootParentId($this->getRootParentId()); |
|
92 | + ->setParentField($this->getParentField()) |
|
93 | + ->setOrderField($this->getOrderField()) |
|
94 | + ->setRootParentId($this->getRootParentId()); |
|
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
@@ -289,7 +289,7 @@ discard block |
||
289 | 289 | } |
290 | 290 | |
291 | 291 | /** |
292 | - * @param \Illuminate\Database\Eloquent\Builder|Builder $query |
|
292 | + * @param \Illuminate\Database\Eloquent\Builder $query |
|
293 | 293 | */ |
294 | 294 | protected function modifyQuery(\Illuminate\Database\Eloquent\Builder $query) |
295 | 295 | { |
@@ -299,7 +299,7 @@ discard block |
||
299 | 299 | } |
300 | 300 | |
301 | 301 | /** |
302 | - * @return \Illuminate\Foundation\Application|mixed |
|
302 | + * @return TreeRepositoryInterface |
|
303 | 303 | * @throws \Exception |
304 | 304 | */ |
305 | 305 | protected function makeRepository() |
@@ -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 | { |