@@ -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 | { |
@@ -99,7 +99,7 @@ |
||
99 | 99 | /** |
100 | 100 | * Get column value from instance. |
101 | 101 | * |
102 | - * @param Collection|Model|Closure $instance |
|
102 | + * @param Model $instance |
|
103 | 103 | * @param string $name |
104 | 104 | * |
105 | 105 | * @return mixed |
@@ -192,7 +192,7 @@ |
||
192 | 192 | * @deprecated 4.5.0 |
193 | 193 | * @see getElements() |
194 | 194 | * |
195 | - * @return Collection[] |
|
195 | + * @return FormElementsCollection |
|
196 | 196 | */ |
197 | 197 | public function getItems() |
198 | 198 | { |
@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | /** |
15 | 15 | * @param ModelConfigurationInterface $model |
16 | - * @param null $id |
|
16 | + * @param integer|null $id |
|
17 | 17 | * @return JsonResponse|mixed |
18 | 18 | */ |
19 | 19 | public function getModelLogic(ModelConfigurationInterface $model, $id = null) |
@@ -108,6 +108,9 @@ |
||
108 | 108 | |
109 | 109 | protected $breadcrumbs = null; |
110 | 110 | |
111 | + /** |
|
112 | + * @param string $class |
|
113 | + */ |
|
111 | 114 | public function __construct(\Illuminate\Contracts\Foundation\Application $app, $class) |
112 | 115 | { |
113 | 116 | parent::__construct($app, $class); |
@@ -14,7 +14,7 @@ discard block |
||
14 | 14 | |
15 | 15 | /** |
16 | 16 | * Overload current page. |
17 | - * @return \KodiComponents\Navigation\Contracts\PageInterface|null |
|
17 | + * @return PageInterface |
|
18 | 18 | */ |
19 | 19 | public function getCurrentPage() |
20 | 20 | { |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | |
51 | 51 | /** |
52 | 52 | * @param Collection $pages |
53 | - * @param $url |
|
53 | + * @param string $url |
|
54 | 54 | */ |
55 | 55 | protected function findPageByAliasId(Collection $pages, $url) |
56 | 56 | { |
@@ -94,7 +94,7 @@ |
||
94 | 94 | /** |
95 | 95 | * @param string $key |
96 | 96 | * |
97 | - * @return mixed |
|
97 | + * @return string |
|
98 | 98 | */ |
99 | 99 | protected function getConfig($key) |
100 | 100 | { |