@@ -139,7 +139,7 @@ |
||
139 | 139 | /** |
140 | 140 | * Fire field type events. |
141 | 141 | * |
142 | - * @param $trigger |
|
142 | + * @param string $trigger |
|
143 | 143 | * @param array $payload |
144 | 144 | */ |
145 | 145 | public function fireFieldTypeEvents($trigger, $payload = []) |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * Parse the stream. |
40 | 40 | * |
41 | 41 | * @param StreamInterface $stream |
42 | - * @param $string |
|
42 | + * @param string $string |
|
43 | 43 | */ |
44 | 44 | protected function parseStream(StreamInterface $stream, &$string) |
45 | 45 | { |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * Parse an assignment field. |
108 | 108 | * |
109 | 109 | * @param FieldInterface $field |
110 | - * @param $string |
|
110 | + * @param string $string |
|
111 | 111 | */ |
112 | 112 | protected function parseField(FieldInterface $field, &$string) |
113 | 113 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | use Closure; |
4 | 4 | use Illuminate\Contracts\Config\Repository; |
5 | -use Illuminate\Contracts\Events\Dispatcher; |
|
6 | 5 | use Illuminate\Foundation\Application; |
7 | 6 | use Illuminate\Http\Request; |
8 | 7 | use Illuminate\Routing\Redirector; |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * |
21 | 21 | * @param \Illuminate\Routing\Route $route |
22 | 22 | * @param \Illuminate\Http\Request $request |
23 | - * @return bool |
|
23 | + * @return integer |
|
24 | 24 | */ |
25 | 25 | public function matches(Route $route, Request $request) |
26 | 26 | { |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | /** |
96 | 96 | * Index cache collection |
97 | 97 | * |
98 | - * @return object |
|
98 | + * @return EloquentQueryBuilder |
|
99 | 99 | */ |
100 | 100 | protected function indexCacheCollection() |
101 | 101 | { |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | * Get fresh models / disable cache |
137 | 137 | * |
138 | 138 | * @param boolean $fresh |
139 | - * @return object |
|
139 | + * @return EloquentQueryBuilder |
|
140 | 140 | */ |
141 | 141 | public function fresh($fresh = true) |
142 | 142 | { |
@@ -158,7 +158,7 @@ |
||
158 | 158 | * Delete a record. |
159 | 159 | * |
160 | 160 | * @param EloquentModel $entry |
161 | - * @return bool |
|
161 | + * @return boolean|null |
|
162 | 162 | */ |
163 | 163 | public function delete(EloquentModel $entry) |
164 | 164 | { |
@@ -240,7 +240,7 @@ discard block |
||
240 | 240 | /** |
241 | 241 | * Get the namespace. |
242 | 242 | * |
243 | - * @return mixed |
|
243 | + * @return string |
|
244 | 244 | */ |
245 | 245 | public function getNamespace() |
246 | 246 | { |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | /** |
251 | 251 | * Get the slug. |
252 | 252 | * |
253 | - * @return mixed |
|
253 | + * @return string |
|
254 | 254 | */ |
255 | 255 | public function getSlug() |
256 | 256 | { |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | * Get a stream field by it's slug. |
478 | 478 | * |
479 | 479 | * @param $slug |
480 | - * @return mixed |
|
480 | + * @return null|FieldInterface |
|
481 | 481 | */ |
482 | 482 | public function getField($slug) |
483 | 483 | { |
@@ -71,7 +71,7 @@ |
||
71 | 71 | /** |
72 | 72 | * Check if a string is in a traversable format. |
73 | 73 | * |
74 | - * @param $target |
|
74 | + * @param string $target |
|
75 | 75 | * @return bool |
76 | 76 | */ |
77 | 77 | protected function isTraversable($target) |
@@ -147,7 +147,7 @@ |
||
147 | 147 | /** |
148 | 148 | * Get the dropdown position. |
149 | 149 | * |
150 | - * @return array |
|
150 | + * @return string |
|
151 | 151 | */ |
152 | 152 | public function getPosition() |
153 | 153 | { |