@@ -62,7 +62,7 @@ |
||
| 62 | 62 | /** |
| 63 | 63 | * Get all socials. |
| 64 | 64 | * |
| 65 | - * @return array |
|
| 65 | + * @return string[] |
|
| 66 | 66 | */ |
| 67 | 67 | public static function allSocials() |
| 68 | 68 | { |
@@ -147,7 +147,7 @@ |
||
| 147 | 147 | /** |
| 148 | 148 | * Store the given file as user's avatar. |
| 149 | 149 | * |
| 150 | - * @param mixed $file |
|
| 150 | + * @param string|null $file |
|
| 151 | 151 | * @return bool |
| 152 | 152 | */ |
| 153 | 153 | public function storeAvatarFile($file) |
@@ -21,6 +21,7 @@ discard block |
||
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | 23 | * Create a new notification instance. |
| 24 | + * @param string $token |
|
| 24 | 25 | */ |
| 25 | 26 | public function __construct($token) |
| 26 | 27 | { |
@@ -31,7 +32,7 @@ discard block |
||
| 31 | 32 | * Get the notification's delivery channels. |
| 32 | 33 | * |
| 33 | 34 | * @param mixed $notifiable |
| 34 | - * @return array |
|
| 35 | + * @return string[] |
|
| 35 | 36 | */ |
| 36 | 37 | public function via($notifiable) |
| 37 | 38 | { |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | * |
| 33 | 33 | * @param \Illuminate\Http\Request $request |
| 34 | 34 | * @param mixed $user |
| 35 | - * @return mixed |
|
| 35 | + * @return \App\Support\Http\ApiResponse |
|
| 36 | 36 | */ |
| 37 | 37 | protected function authenticated(Request $request, $user) |
| 38 | 38 | { |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | * Get the failed login response instance. |
| 46 | 46 | * |
| 47 | 47 | * @param \Illuminate\Http\Request $request |
| 48 | - * @return \Illuminate\Http\Response |
|
| 48 | + * @return \App\Support\Http\ApiResponse |
|
| 49 | 49 | */ |
| 50 | 50 | protected function sendFailedLoginResponse(Request $request) |
| 51 | 51 | { |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | * Redirect the user after determining they are locked out. |
| 57 | 57 | * |
| 58 | 58 | * @param \Illuminate\Http\Request $request |
| 59 | - * @return \Illuminate\Http\RedirectResponse |
|
| 59 | + * @return \App\Support\Http\ApiResponse |
|
| 60 | 60 | */ |
| 61 | 61 | protected function sendLockoutResponse(Request $request) |
| 62 | 62 | { |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | * Get the response for a successful password reset. |
| 38 | 38 | * |
| 39 | 39 | * @param string $response |
| 40 | - * @return \Illuminate\Http\Response |
|
| 40 | + * @return \App\Support\Http\ApiResponse |
|
| 41 | 41 | */ |
| 42 | 42 | protected function sendResetResponse($response) |
| 43 | 43 | { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * |
| 50 | 50 | * @param \Illuminate\Http\Request |
| 51 | 51 | * @param string $response |
| 52 | - * @return \Illuminate\Http\Response |
|
| 52 | + * @return \App\Support\Http\ApiResponse |
|
| 53 | 53 | */ |
| 54 | 54 | protected function sendResetFailedResponse(Request $request, $response) |
| 55 | 55 | { |
@@ -622,7 +622,7 @@ |
||
| 622 | 622 | * Remove tags for the given device token. |
| 623 | 623 | * |
| 624 | 624 | * @param string $deviceToken |
| 625 | - * @param mixed $tags |
|
| 625 | + * @param string[] $tags |
|
| 626 | 626 | * @return bool |
| 627 | 627 | */ |
| 628 | 628 | public function removeTagsForDeviceToken($deviceToken, $tags) |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use App\Models\AdminUser; |
| 6 | 6 | use App\Support\Datatables\Services\DataTable; |
| 7 | -use Illuminate\Support\Facades\Auth; |
|
| 8 | 7 | |
| 9 | 8 | class AdminUserDataTable extends DataTable |
| 10 | 9 | { |