@@ -82,7 +82,6 @@ |
||
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
85 | - * @param \Coyote\User $user |
|
86 | 85 | * @return BroadcastMessage |
87 | 86 | */ |
88 | 87 | public function toBroadcast() |
@@ -187,7 +187,7 @@ |
||
187 | 187 | * Returns subquery |
188 | 188 | * |
189 | 189 | * @param int $userId |
190 | - * @return mixed |
|
190 | + * @return \Illuminate\Database\Eloquent\Builder |
|
191 | 191 | */ |
192 | 192 | private function subSql($userId) |
193 | 193 | { |
@@ -124,7 +124,7 @@ |
||
124 | 124 | } |
125 | 125 | |
126 | 126 | /** |
127 | - * @param $field |
|
127 | + * @param string $field |
|
128 | 128 | * @param $value |
129 | 129 | * @return \Illuminate\Database\Query\Builder |
130 | 130 | */ |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param string $path |
26 | - * @return mixed |
|
26 | + * @return WikiRepository |
|
27 | 27 | */ |
28 | 28 | public function findByPath($path) |
29 | 29 | { |
@@ -291,7 +291,7 @@ discard block |
||
291 | 291 | /** |
292 | 292 | * @param int $wikiId |
293 | 293 | * @param int $pathId |
294 | - * @return \Coyote\Wiki\Path |
|
294 | + * @return Wiki\Page |
|
295 | 295 | */ |
296 | 296 | public function clone($wikiId, $pathId) |
297 | 297 | { |
@@ -413,8 +413,9 @@ discard block |
||
413 | 413 | } |
414 | 414 | |
415 | 415 | /** |
416 | - * @param $name |
|
416 | + * @param string $name |
|
417 | 417 | * @param array ...$args |
418 | + * @param integer $args |
|
418 | 419 | * @return \Illuminate\Database\Query\Expression |
419 | 420 | */ |
420 | 421 | private function rawFunction($name, ...$args) |
@@ -108,7 +108,7 @@ |
||
108 | 108 | |
109 | 109 | if (!array_key_exists($path, $manifest)) { |
110 | 110 | throw new Exception( |
111 | - "Unable to locate webpack mix file: {$path}. Please check your ". |
|
111 | + "Unable to locate webpack mix file: {$path}. Please check your " . |
|
112 | 112 | 'webpack.mix.js output paths and try again.' |
113 | 113 | ); |
114 | 114 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | } |
13 | 13 | |
14 | 14 | /** |
15 | - * @param $value |
|
15 | + * @param null|string $value |
|
16 | 16 | * @param int $limit |
17 | 17 | * @return string |
18 | 18 | */ |
@@ -31,7 +31,7 @@ |
||
31 | 31 | /** |
32 | 32 | * Get the notification's delivery channels. |
33 | 33 | * |
34 | - * @return array |
|
34 | + * @return string[] |
|
35 | 35 | */ |
36 | 36 | public function via() |
37 | 37 | { |
@@ -16,7 +16,6 @@ |
||
16 | 16 | use Coyote\Services\Stream\Objects\Microblog as Stream_Microblog; |
17 | 17 | use Coyote\Services\Stream\Objects\Comment as Stream_Comment; |
18 | 18 | use Illuminate\Contracts\Notifications\Dispatcher; |
19 | -use Illuminate\Http\Request; |
|
20 | 19 | |
21 | 20 | class CommentController extends Controller |
22 | 21 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | private $relations; |
13 | 13 | |
14 | 14 | /** |
15 | - * @param string|string[] $relations |
|
15 | + * @param string[] $relations |
|
16 | 16 | */ |
17 | 17 | public function __construct($relations) |
18 | 18 | { |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | |
16 | 16 | /** |
17 | 17 | * Tags constructor. |
18 | - * @param string[]|string $tags |
|
18 | + * @param string[] $tags |
|
19 | 19 | */ |
20 | 20 | public function __construct($tags = []) |
21 | 21 | { |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | } |
55 | 55 | |
56 | 56 | /** |
57 | - * @return array |
|
57 | + * @return string[] |
|
58 | 58 | */ |
59 | 59 | public function getTags() |
60 | 60 | { |