@@ -8,7 +8,6 @@ |
||
8 | 8 | /** |
9 | 9 | * We must decrement the post count due to the first post being counted. |
10 | 10 | * |
11 | - * @param int $count The actual post count cache. |
|
12 | 11 | * |
13 | 12 | * @return int |
14 | 13 | */ |
@@ -10,7 +10,6 @@ |
||
10 | 10 | * Create a new comment instance after a valid validation. |
11 | 11 | * |
12 | 12 | * @param array $data The data used to create the comment. |
13 | - * @param \Xetaravel\Models\User $user The current user. |
|
14 | 13 | * |
15 | 14 | * @return \Xetaravel\Models\Comment |
16 | 15 | */ |
@@ -15,7 +15,7 @@ |
||
15 | 15 | * @param \Xetaravel\Models\User $user |
16 | 16 | * @param string $ability |
17 | 17 | * |
18 | - * @return true|void |
|
18 | + * @return boolean|null |
|
19 | 19 | */ |
20 | 20 | public function before(User $user, string $ability) |
21 | 21 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | * @param \Xetaravel\Models\User $user |
16 | 16 | * @param string $ability |
17 | 17 | * |
18 | - * @return true|void |
|
18 | + * @return boolean|null |
|
19 | 19 | */ |
20 | 20 | public function before(User $user, string $ability) |
21 | 21 | { |
@@ -92,7 +92,6 @@ |
||
92 | 92 | /** |
93 | 93 | * Handle a delete action for the post. |
94 | 94 | * |
95 | - * @param \Illuminate\Http\Request $request |
|
96 | 95 | * @param int $id |
97 | 96 | * |
98 | 97 | * @return \Illuminate\Http\RedirectResponse |
@@ -9,7 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * Find the categories for the sidebar. |
11 | 11 | * |
12 | - * @return \Illuminate\Database\Eloquent\Collection|static[] |
|
12 | + * @return Collection |
|
13 | 13 | */ |
14 | 14 | public static function sidebar(): Collection |
15 | 15 | { |
@@ -9,7 +9,7 @@ |
||
9 | 9 | /** |
10 | 10 | * Find the categories for the sidebar. |
11 | 11 | * |
12 | - * @return \Illuminate\Database\Eloquent\Collection|static[] |
|
12 | + * @return Collection |
|
13 | 13 | */ |
14 | 14 | public static function sidebar(): Collection |
15 | 15 | { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | /** |
32 | 32 | * Create a new emoji parser instance. |
33 | 33 | * |
34 | - * @return void |
|
34 | + * @return InlineParserInterface |
|
35 | 35 | */ |
36 | 36 | public function __construct() |
37 | 37 | { |