@@ -17,7 +17,6 @@ |
||
17 | 17 | /** |
18 | 18 | * Return the sorted entries. |
19 | 19 | * |
20 | - * @param bool|false $reverse |
|
21 | 20 | * @return static |
22 | 21 | */ |
23 | 22 | public function sorted($direction = 'asc') |
@@ -48,8 +48,8 @@ |
||
48 | 48 | /** |
49 | 49 | * Make a new EntryBuilder instance. |
50 | 50 | * |
51 | - * @param $namespace |
|
52 | - * @param $stream |
|
51 | + * @param string $namespace |
|
52 | + * @param string $stream |
|
53 | 53 | * @param string $method |
54 | 54 | * @return EntryCriteria |
55 | 55 | */ |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | /** |
190 | 190 | * Set a field value. |
191 | 191 | * |
192 | - * @param $fieldSlug |
|
192 | + * @param string $fieldSlug |
|
193 | 193 | * @param $value |
194 | 194 | */ |
195 | 195 | public function setFieldValue($fieldSlug, $value) |
@@ -273,7 +273,7 @@ discard block |
||
273 | 273 | /** |
274 | 274 | * Get the field type query. |
275 | 275 | * |
276 | - * @param $fieldSlug |
|
276 | + * @param string $fieldSlug |
|
277 | 277 | * @return FieldTypeQuery |
278 | 278 | */ |
279 | 279 | public function getFieldTypeQuery($fieldSlug) |
@@ -584,7 +584,7 @@ discard block |
||
584 | 584 | * Return whether or not the assignment for |
585 | 585 | * the given field slug is translatable. |
586 | 586 | * |
587 | - * @param $fieldSlug |
|
587 | + * @param string $fieldSlug |
|
588 | 588 | * @return bool |
589 | 589 | */ |
590 | 590 | public function assignmentIsTranslatable($fieldSlug) |
@@ -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 | { |
@@ -36,7 +36,7 @@ |
||
36 | 36 | * Handle the command. |
37 | 37 | * |
38 | 38 | * @param AssignField $command |
39 | - * @return AssignmentInterface |
|
39 | + * @return \Anomaly\Streams\Platform\Model\EloquentModel |
|
40 | 40 | */ |
41 | 41 | public function handle(AssignField $command) |
42 | 42 | { |
@@ -106,7 +106,6 @@ |
||
106 | 106 | /** |
107 | 107 | * Get the name. |
108 | 108 | * |
109 | - * @param null|string $locale |
|
110 | 109 | * @return string |
111 | 110 | */ |
112 | 111 | public function getName() |
@@ -3,7 +3,6 @@ |
||
3 | 3 | use Anomaly\Streams\Platform\Support\Resolver; |
4 | 4 | use Closure; |
5 | 5 | use Illuminate\Contracts\Config\Repository; |
6 | -use Illuminate\Contracts\Events\Dispatcher; |
|
7 | 6 | use Illuminate\Http\Request; |
8 | 7 | use Illuminate\Routing\Redirector; |
9 | 8 |
@@ -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; |