@@ -47,7 +47,7 @@ |
||
47 | 47 | * Create a new Stream. |
48 | 48 | * |
49 | 49 | * @param array $attributes |
50 | - * @return StreamInterface |
|
50 | + * @return StreamModel|null |
|
51 | 51 | */ |
52 | 52 | public function create(array $attributes = []) |
53 | 53 | { |
@@ -17,7 +17,6 @@ |
||
17 | 17 | * Return shuffled items. |
18 | 18 | * Preserve the index keys. |
19 | 19 | * |
20 | - * @param int $amount |
|
21 | 20 | * @return static |
22 | 21 | */ |
23 | 22 | public function shuffle() |
@@ -1,7 +1,5 @@ |
||
1 | 1 | <?php namespace Anomaly\Streams\Platform\Support; |
2 | 2 | |
3 | -use Illuminate\Contracts\Config\Repository; |
|
4 | - |
|
5 | 3 | /** |
6 | 4 | * Class Collection |
7 | 5 | * |
@@ -73,7 +73,7 @@ |
||
73 | 73 | * Add namespace overrides to configuration. |
74 | 74 | * |
75 | 75 | * @param $namespace |
76 | - * @param $directory |
|
76 | + * @param string $directory |
|
77 | 77 | */ |
78 | 78 | public function addNamespaceOverrides($namespace, $directory) |
79 | 79 | { |
@@ -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) |
@@ -53,7 +53,7 @@ |
||
53 | 53 | /** |
54 | 54 | * Render a string template. |
55 | 55 | * |
56 | - * @param $template |
|
56 | + * @param string $template |
|
57 | 57 | * @param array $payload |
58 | 58 | * @return string |
59 | 59 | * @throws \Exception |
@@ -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 | { |
@@ -52,7 +52,6 @@ |
||
52 | 52 | /** |
53 | 53 | * Handle the command. |
54 | 54 | * |
55 | - * @param Translator $translator |
|
56 | 55 | * @return string |
57 | 56 | */ |
58 | 57 | public function handle() |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | /** |
127 | 127 | * Set the highlighted flag. |
128 | 128 | * |
129 | - * @param boolean $active |
|
129 | + * @param boolean $highlighted |
|
130 | 130 | * @return $this |
131 | 131 | */ |
132 | 132 | public function setHighlighted($highlighted); |
@@ -157,6 +157,7 @@ discard block |
||
157 | 157 | * Set the buttons. |
158 | 158 | * |
159 | 159 | * @param array|string $buttons |
160 | + * @return void |
|
160 | 161 | */ |
161 | 162 | public function setButtons($buttons); |
162 | 163 | |
@@ -171,6 +172,7 @@ discard block |
||
171 | 172 | * Set the attributes. |
172 | 173 | * |
173 | 174 | * @param array $attributes |
175 | + * @return void |
|
174 | 176 | */ |
175 | 177 | public function setAttributes(array $attributes); |
176 | 178 |
@@ -275,7 +275,6 @@ |
||
275 | 275 | /** |
276 | 276 | * Set the highlighted flag. |
277 | 277 | * |
278 | - * @param boolean $active |
|
279 | 278 | * @return $this |
280 | 279 | */ |
281 | 280 | public function setHighlighted($highlighted) |