@@ -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 | { |
@@ -180,7 +180,7 @@ |
||
| 180 | 180 | |
| 181 | 181 | return redirect() |
| 182 | 182 | ->route('users.auth.login') |
| 183 | - ->with('danger', "This {$driver} user is already registered !"); |
|
| 183 | + ->with('danger', "this {$driver} user is already registered !"); |
|
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | $validator = UserValidator::createWithProvider([ |
@@ -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 | { |
@@ -90,6 +90,6 @@ |
||
| 90 | 90 | */ |
| 91 | 91 | protected function getCurrentPage(Request $request) |
| 92 | 92 | { |
| 93 | - return !is_null($request->get('page')) ? (int)$request->get('page') : 1; |
|
| 93 | + return !is_null($request->get('page')) ? (int) $request->get('page') : 1; |
|
| 94 | 94 | } |
| 95 | 95 | } |
@@ -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 | { |