@@ -24,7 +24,6 @@ |
||
24 | 24 | use Anomaly\Streams\Platform\Installer\InstallerCollection; |
25 | 25 | use Anomaly\Streams\Platform\Support\Collection; |
26 | 26 | use Illuminate\Console\Command; |
27 | -use Illuminate\Contracts\Config\Repository; |
|
28 | 27 | use Illuminate\Contracts\Events\Dispatcher; |
29 | 28 | use Illuminate\Foundation\Bus\DispatchesJobs; |
30 | 29 |
@@ -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() |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | /** |
158 | 158 | * Get the plugin functions. |
159 | 159 | * |
160 | - * @return array |
|
160 | + * @return \Twig_SimpleFunction[] |
|
161 | 161 | */ |
162 | 162 | public function getFunctions() |
163 | 163 | { |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | /** |
377 | 377 | * Get the filters. |
378 | 378 | * |
379 | - * @return array |
|
379 | + * @return \Twig_SimpleFilter[] |
|
380 | 380 | */ |
381 | 381 | public function getFilters() |
382 | 382 | { |
@@ -53,7 +53,6 @@ |
||
53 | 53 | /** |
54 | 54 | * Set the table model object from the builder's model. |
55 | 55 | * |
56 | - * @param SetDefaultParameters $command |
|
57 | 56 | */ |
58 | 57 | public function handle() |
59 | 58 | { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | * |
61 | 61 | * @param TreeBuilder $builder |
62 | 62 | * @param $entry |
63 | - * @return View|mixed|null |
|
63 | + * @return string |
|
64 | 64 | */ |
65 | 65 | public function make(TreeBuilder $builder, $entry) |
66 | 66 | { |
@@ -295,7 +295,7 @@ |
||
295 | 295 | /** |
296 | 296 | * Add data to the data collection. |
297 | 297 | * |
298 | - * @param $key |
|
298 | + * @param string $key |
|
299 | 299 | * @param $value |
300 | 300 | * @return $this |
301 | 301 | */ |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | /** |
266 | 266 | * Get an option value. |
267 | 267 | * |
268 | - * @param $key |
|
268 | + * @param string $key |
|
269 | 269 | * @param null $default |
270 | 270 | * @return mixed |
271 | 271 | */ |
@@ -352,7 +352,7 @@ discard block |
||
352 | 352 | /** |
353 | 353 | * Get a tree option value. |
354 | 354 | * |
355 | - * @param $key |
|
355 | + * @param string $key |
|
356 | 356 | * @param null $default |
357 | 357 | * @return mixed |
358 | 358 | */ |
@@ -364,7 +364,7 @@ discard block |
||
364 | 364 | /** |
365 | 365 | * Set a tree option value. |
366 | 366 | * |
367 | - * @param $key |
|
367 | + * @param string $key |
|
368 | 368 | * @param $value |
369 | 369 | * @return $this |
370 | 370 | */ |
@@ -477,7 +477,7 @@ discard block |
||
477 | 477 | /** |
478 | 478 | * Get a request value. |
479 | 479 | * |
480 | - * @param $key |
|
480 | + * @param string $key |
|
481 | 481 | * @param null $default |
482 | 482 | * @return mixed |
483 | 483 | */ |
@@ -115,7 +115,7 @@ |
||
115 | 115 | * @param $addon |
116 | 116 | * @param $namespace |
117 | 117 | * @param $stream |
118 | - * @return \Illuminate\Http\RedirectResponse |
|
118 | + * @return \Symfony\Component\HttpFoundation\StreamedResponse |
|
119 | 119 | */ |
120 | 120 | public function export($addon, $namespace, $stream) |
121 | 121 | { |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | /** |
113 | 113 | * Fire a model event. |
114 | 114 | * |
115 | - * @param $event |
|
115 | + * @param string $event |
|
116 | 116 | * @return mixed |
117 | 117 | */ |
118 | 118 | public function fireEvent($event) |
@@ -353,6 +353,9 @@ discard block |
||
353 | 353 | return new $this->translationModel; |
354 | 354 | } |
355 | 355 | |
356 | + /** |
|
357 | + * @return string |
|
358 | + */ |
|
356 | 359 | public function getTranslationModelName() |
357 | 360 | { |
358 | 361 | return $this->translationModel; |
@@ -542,6 +545,9 @@ discard block |
||
542 | 545 | return parent::fill($attributes); |
543 | 546 | } |
544 | 547 | |
548 | + /** |
|
549 | + * @param string $key |
|
550 | + */ |
|
545 | 551 | private function getTranslationByLocaleKey($key) |
546 | 552 | { |
547 | 553 | foreach ($this->translations as $translation) { |
@@ -678,6 +684,9 @@ discard block |
||
678 | 684 | return false; |
679 | 685 | } |
680 | 686 | |
687 | + /** |
|
688 | + * @param string $key |
|
689 | + */ |
|
681 | 690 | public function __get($key) |
682 | 691 | { |
683 | 692 | if ($this->hasHook($key)) { |