@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * Get the characters that must be matched. |
| 44 | 44 | * |
| 45 | - * @return array |
|
| 45 | + * @return string[] |
|
| 46 | 46 | */ |
| 47 | 47 | public function getCharacters() |
| 48 | 48 | { |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * Get the characters that must be matched. |
| 44 | 44 | * |
| 45 | - * @return array |
|
| 45 | + * @return string[] |
|
| 46 | 46 | */ |
| 47 | 47 | public function getCharacters() |
| 48 | 48 | { |
@@ -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 | { |
@@ -86,7 +86,6 @@ discard block |
||
| 86 | 86 | /** |
| 87 | 87 | * Handle a delete action for the post. |
| 88 | 88 | * |
| 89 | - * @param \Illuminate\Http\Request $request |
|
| 90 | 89 | * @param int $id |
| 91 | 90 | * |
| 92 | 91 | * @return \Illuminate\Http\RedirectResponse |
@@ -195,7 +194,7 @@ discard block |
||
| 195 | 194 | * |
| 196 | 195 | * @param int $id |
| 197 | 196 | * |
| 198 | - * @return \Illuminate\Http\JsonResponse|\Illuminate\View\View |
|
| 197 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 199 | 198 | */ |
| 200 | 199 | public function editTemplate(int $id) |
| 201 | 200 | { |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | * Parse a line and determine if it contains an emoji. If it does, |
| 17 | 17 | * then we do the necessary. |
| 18 | 18 | * |
| 19 | - * @param \League\CommonMark\InlineParserContext $inlineContext |
|
| 20 | 19 | * |
| 21 | 20 | * @return bool |
| 22 | 21 | */ |