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 (#286)
by Dane
02:52
created
app/Services/UuidService.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -68,6 +68,7 @@
 block discarded – undo
68 68
      *
69 69
      * @param string $table
70 70
      * @param string $field
71
+     * @param string $attachedUuid
71 72
      * @return string
72 73
      */
73 74
     public function generateShort($table = 'servers', $field = 'uuidShort', $attachedUuid = null)
Please login to merge, or discard this patch.
app/Http/Middleware/APISecretToken.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,6 @@
 block discarded – undo
31 31
 use IPTools\Range;
32 32
 use Dingo\Api\Routing\Route;
33 33
 use Illuminate\Http\Request;
34
-use Pterodactyl\Models\User;
35 34
 use Pterodactyl\Models\APIKey;
36 35
 use Pterodactyl\Models\APIPermission;
37 36
 use Pterodactyl\Services\APILogService;
Please login to merge, or discard this patch.
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/Repositories/Daemon/PowerRepository.php 2 patches
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.
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.
app/Repositories/SubuserRepository.php 2 patches
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.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,6 @@
 block discarded – undo
25 25
 namespace Pterodactyl\Repositories;
26 26
 
27 27
 use DB;
28
-use Mail;
29
-use Settings;
30 28
 use Validator;
31 29
 use Pterodactyl\Models;
32 30
 use Pterodactyl\Services\UuidService;
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/Http/Controllers/Base/AccountController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * Update details for a users account.
51 51
      * @param  \Illuminate\Http\Request $request
52
-     * @return void
52
+     * @return null|\Illuminate\Http\RedirectResponse
53 53
      */
54 54
     public function update(Request $request)
55 55
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/ServersController.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
      * Returns a JSON tree of all avaliable nodes in a given location.
188 188
      *
189 189
      * @param  \Illuminate\Http\Request $request
190
-     * @return \Illuminate\Contracts\View\View
190
+     * @return \Illuminate\Http\JsonResponse
191 191
      */
192 192
     public function postNewServerGetNodes(Request $request)
193 193
     {
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
      * Returns a JSON tree of all avaliable IPs and Ports on a given node.
205 205
      *
206 206
      * @param  \Illuminate\Http\Request $request
207
-     * @return \Illuminate\Contracts\View\View
207
+     * @return \Illuminate\Http\JsonResponse
208 208
      */
209 209
     public function postNewServerGetIps(Request $request)
210 210
     {
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
      * Returns a JSON tree of all avaliable options for a given service.
233 233
      *
234 234
      * @param  \Illuminate\Http\Request $request
235
-     * @return \Illuminate\Contracts\View\View
235
+     * @return \Illuminate\Http\JsonResponse
236 236
      */
237 237
     public function postNewServerServiceOptions(Request $request)
238 238
     {
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
      * Returns a JSON tree of all avaliable variables for a given service option.
252 252
      *
253 253
      * @param  \Illuminate\Http\Request $request
254
-     * @return \Illuminate\Contracts\View\View
254
+     * @return \Illuminate\Http\JsonResponse
255 255
      */
256 256
     public function postNewServerOptionDetails(Request $request)
257 257
     {
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\Http\Controllers\Admin;
26 26
 
27
-use DB;
28 27
 use Log;
29 28
 use Alert;
30 29
 use Pterodactyl\Models;
Please login to merge, or discard this patch.
app/Http/Controllers/Daemon/PackController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      * Returns the hash information for a pack.
65 65
      *
66 66
      * @param  \Illuminate\Http\Request   $request
67
-     * @return \Illuminate\Http\Response
67
+     * @return \Illuminate\Http\JsonResponse
68 68
      */
69 69
     public function hash(Request $request, $uuid)
70 70
     {
Please login to merge, or discard this patch.