GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Pull Request — develop (#248)
by Dane
04:43 queued 02:03
created
app/Jobs/DeleteServer.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,6 @@
 block discarded – undo
42 42
     /**
43 43
      * Create a new job instance.
44 44
      *
45
-     * @param  int  $server
46 45
      * @return void
47 46
      */
48 47
     public function __construct($id)
Please login to merge, or discard this patch.
app/Notifications/AccountCreated.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@  discard block
 block discarded – undo
42 42
     /**
43 43
      * Create a new notification instance.
44 44
      *
45
+     * @param string $token
45 46
      * @return void
46 47
      */
47 48
     public function __construct($token)
@@ -53,7 +54,7 @@  discard block
 block discarded – undo
53 54
      * Get the notification's delivery channels.
54 55
      *
55 56
      * @param  mixed  $notifiable
56
-     * @return array
57
+     * @return string[]
57 58
      */
58 59
     public function via($notifiable)
59 60
     {
Please login to merge, or discard this patch.
app/Repositories/Daemon/CommandRepository.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@
 block discarded – undo
35 35
     protected $node;
36 36
     protected $client;
37 37
 
38
+    /**
39
+     * @param Models\Server $server
40
+     */
38 41
     public function __construct($server)
39 42
     {
40 43
         $this->server = ($server instanceof Models\Server) ? $server : Models\Server::findOrFail($server);
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 
25 25
 namespace Pterodactyl\Repositories\Daemon;
26 26
 
27
-use GuzzleHttp\Client;
28 27
 use Pterodactyl\Models;
29 28
 use Pterodactyl\Exceptions\DisplayException;
30 29
 
Please login to merge, or discard this patch.
app/Repositories/SubuserRepository.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 
109 109
     /**
110 110
      * Creates a new subuser on the server.
111
-     * @param  int $id     The ID of the server to add this subuser to.
111
+     * @param  int $sid     The ID of the server to add this subuser to.
112 112
      * @param  array  $data
113 113
      * @throws DisplayValidationException
114 114
      * @throws DisplayException
@@ -214,7 +214,6 @@  discard block
 block discarded – undo
214 214
     /**
215 215
      * Revokes a users permissions on a server.
216 216
      * @param  int  $id  The ID of the subuser row in MySQL.
217
-     * @param  array    $data
218 217
      * @throws DisplayValidationException
219 218
      * @throws DisplayException
220 219
      * @return void
Please login to merge, or discard this patch.
app/Policies/ServerPolicy.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      *
57 57
      * @param  \Pterodactyl\Models\User $user
58 58
      * @param  string $ability
59
-     * @return bool
59
+     * @return boolean|null
60 60
      */
61 61
     public function before(User $user, $ability)
62 62
     {
@@ -503,7 +503,7 @@  discard block
 block discarded – undo
503 503
      *
504 504
      * @param \Pterodactyl\Models\User   $user
505 505
      * @param \Pterodactyl\Models\Server $server
506
-     * @param $permission
506
+     * @param string $permission
507 507
      * @return bool
508 508
      */
509 509
     private function checkPermission(User $user, Server $server, $permission)
Please login to merge, or discard this patch.
app/Http/Controllers/Daemon/ServiceController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
      * Check if the provided user has TOTP enabled.
142 142
      *
143 143
      * @param  \Illuminate\Http\Request  $request
144
-     * @return \Illuminate\Http\Response
144
+     * @return \Illuminate\Http\JsonResponse
145 145
      */
146 146
     public function checkTotp(Request $request)
147 147
     {
Please login to merge, or discard this patch.
app/Models/User.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     /**
91 91
      * Determines if a user has permissions.
92 92
      *
93
-     * @return bool
93
+     * @return \Illuminate\Database\Eloquent\Relations\HasMany
94 94
      */
95 95
     public function permissions()
96 96
     {
Please login to merge, or discard this patch.
app/Repositories/ServiceRepository/Pack.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,6 @@
 block discarded – undo
25 25
 namespace Pterodactyl\Repositories\ServiceRepository;
26 26
 
27 27
 use DB;
28
-use Uuid;
29 28
 use Storage;
30 29
 use Validator;
31 30
 use Pterodactyl\Models;
Please login to merge, or discard this patch.
app/Repositories/UserRepository.php 1 patch
Doc Comments   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -47,10 +47,6 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * Creates a user on the panel. Returns the created user's ID.
49 49
      *
50
-     * @param  string       $email
51
-     * @param  string|null  $password An unhashed version of the user's password.
52
-     * @param  bool         $admin    Boolean value if user should be an admin or not.
53
-     * @param  int          $token    A custom user ID.
54 50
      * @return bool|int
55 51
      */
56 52
     public function create(array $data)
@@ -167,7 +163,7 @@  discard block
 block discarded – undo
167 163
      * Deletes a user on the panel, returns the number of records deleted.
168 164
      *
169 165
      * @param  int $id
170
-     * @return int
166
+     * @return boolean
171 167
      */
172 168
     public function delete($id)
173 169
     {
Please login to merge, or discard this patch.