Completed
Push — master ( c88b16...2d5c1e )
by Elf
08:24 queued 05:59
created
app/DataTables/AdminUsersDataTable.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * Get the "action" column data.
58 58
      *
59 59
      * @param  AdminUser  $user
60
-     * @return mixed
60
+     * @return string
61 61
      */
62 62
     public function getActionColumnData($user)
63 63
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace App\DataTables;
4 4
 
5 5
 use App\Models\AdminUser;
6
-use Illuminate\Support\Facades\Auth;
7 6
 use App\Support\Datatables\Services\DataTable;
7
+use Illuminate\Support\Facades\Auth;
8 8
 
9 9
 class AdminUsersDataTable extends DataTable
10 10
 {
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/Admin/ProfileController.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers\Admin\Admin;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use App\Http\Controllers\Controller;
6
+use Illuminate\Http\Request;
7 7
 
8 8
 class ProfileController extends Controller
9 9
 {
Please login to merge, or discard this patch.
app/Models/SocialAuth.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Models;
4 4
 
5
-use Illuminate\Database\Eloquent\Model;
6 5
 use App\Exceptions\InvalidInputException;
6
+use Illuminate\Database\Eloquent\Model;
7 7
 
8 8
 class SocialAuth extends Model
9 9
 {
Please login to merge, or discard this patch.
app/Models/User.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use App\Support\Image\Filters\Fit;
6 6
 use App\Support\Traits\ImageStorage;
7
-use Illuminate\Support\Facades\Request;
8
-use Illuminate\Notifications\Notifiable;
9 7
 use Iatstuti\Database\Support\NullableFields;
10 8
 use Illuminate\Foundation\Auth\User as Authenticatable;
9
+use Illuminate\Notifications\Notifiable;
10
+use Illuminate\Support\Facades\Request;
11 11
 
12 12
 class User extends Authenticatable
13 13
 {
Please login to merge, or discard this patch.
app/Notifications/ResetPassword.php 2 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,9 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use App\Models\AdminUser;
6 6
 use Illuminate\Bus\Queueable;
7
-use Illuminate\Notifications\Notification;
8 7
 use Illuminate\Contracts\Queue\ShouldQueue;
9 8
 use Illuminate\Notifications\Messages\MailMessage;
9
+use Illuminate\Notifications\Notification;
10 10
 
11 11
 class ResetPassword extends Notification implements ShouldQueue
12 12
 {
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Providers;
4 4
 
5
-use Illuminate\Support\Facades\Route;
6 5
 use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
6
+use Illuminate\Support\Facades\Route;
7 7
 
8 8
 class RouteServiceProvider extends ServiceProvider
9 9
 {
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 1 patch
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,14 +2,14 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Exceptions;
4 4
 
5
-use Exception;
6 5
 use App\Http\ApiResponse;
7 6
 use App\Jobs\SendBearyChat;
7
+use Exception;
8 8
 use Illuminate\Auth\AuthenticationException;
9
-use Illuminate\Validation\ValidationException;
10
-use Symfony\Component\HttpKernel\Exception\HttpException;
11 9
 use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
12 10
 use Illuminate\Foundation\Http\Exceptions\MaintenanceModeException;
11
+use Illuminate\Validation\ValidationException;
12
+use Symfony\Component\HttpKernel\Exception\HttpException;
13 13
 
14 14
 class Handler extends ExceptionHandler
15 15
 {
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/Admin/UserController.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers\Admin\Admin;
4 4
 
5
+use App\DataTables\AdminUsersDataTable;
6
+use App\Http\Controllers\Controller;
5 7
 use App\Models\AdminUser;
6 8
 use Illuminate\Http\Request;
7
-use App\Http\Controllers\Controller;
8
-use App\DataTables\AdminUsersDataTable;
9 9
 
10 10
 class UserController extends Controller
11 11
 {
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/Auth/LoginController.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers\Admin\Admin;
4 4
 
5
-use Illuminate\Http\Request;
6 5
 use App\Http\Controllers\Controller;
6
+use Illuminate\Http\Request;
7 7
 
8 8
 class ProfileController extends Controller
9 9
 {
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.