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
08:45 queued 05:44
created
app/Repositories/Daemon/FileRepository.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\Daemon;
26 26
 
27 27
 use Exception;
28
-use GuzzleHttp\Client;
29 28
 use Pterodactyl\Models\Server;
30 29
 use Pterodactyl\Exceptions\DisplayException;
31 30
 use Pterodactyl\Repositories\HelperRepository;
Please login to merge, or discard this patch.
app/Models/Server.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,6 @@
 block discarded – undo
133 133
     /**
134 134
      * Returns non-administrative headers for accessing a server on the daemon.
135 135
      *
136
-     * @param  string $uuid
137 136
      * @return array
138 137
      */
139 138
     public function guzzleHeaders()
Please login to merge, or discard this patch.
app/Repositories/DatabaseRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
      * Updates the password for a given database.
117 117
      * @param  int $id The ID of the database to modify.
118 118
      * @param  string $password The new password to use for the database.
119
-     * @return bool
119
+     * @return boolean|null
120 120
      */
121 121
     public function modifyPassword($id, $password)
122 122
     {
Please login to merge, or discard this patch.
app/Repositories/UserRepository.php 1 patch
Doc Comments   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -47,11 +47,7 @@  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
-     * @return bool|int
50
+     * @return Models\User
55 51
      */
56 52
     public function create(array $data)
57 53
     {
@@ -163,7 +159,7 @@  discard block
 block discarded – undo
163 159
      * Deletes a user on the panel, returns the number of records deleted.
164 160
      *
165 161
      * @param  int $id
166
-     * @return int
162
+     * @return boolean
167 163
      */
168 164
     public function delete($id)
169 165
     {
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
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @param \Pterodactyl\Models\User   $user
46 46
      * @param \Pterodactyl\Models\Server $server
47
-     * @param $permission
47
+     * @param string $permission
48 48
      * @return bool
49 49
      */
50 50
     private function checkPermission(User $user, Server $server, $permission)
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      *
74 74
      * @param  \Pterodactyl\Models\User $user
75 75
      * @param  string $ability
76
-     * @return bool
76
+     * @return boolean|null
77 77
      */
78 78
     public function before(User $user, $ability)
79 79
     {
Please login to merge, or discard this patch.
app/Repositories/ServerRepository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     /**
77 77
      * Adds a new server to the system.
78 78
      * @param   array  $data  An array of data descriptors for creating the server. These should align to the columns in the database.
79
-     * @return  int
79
+     * @return  Models\Server
80 80
      */
81 81
     public function create(array $data)
82 82
     {
Please login to merge, or discard this patch.
app/Http/Controllers/Admin/ServersController.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * Returns a JSON tree of all avaliable nodes in a given location.
106 106
      *
107 107
      * @param  \Illuminate\Http\Request $request
108
-     * @return \Illuminate\Contracts\View\View
108
+     * @return \Illuminate\Http\JsonResponse
109 109
      */
110 110
     public function postNewServerGetNodes(Request $request)
111 111
     {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      * Returns a JSON tree of all avaliable IPs and Ports on a given node.
123 123
      *
124 124
      * @param  \Illuminate\Http\Request $request
125
-     * @return \Illuminate\Contracts\View\View
125
+     * @return \Illuminate\Http\JsonResponse
126 126
      */
127 127
     public function postNewServerGetIps(Request $request)
128 128
     {
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
      * Returns a JSON tree of all avaliable options for a given service.
151 151
      *
152 152
      * @param  \Illuminate\Http\Request $request
153
-     * @return \Illuminate\Contracts\View\View
153
+     * @return \Illuminate\Http\JsonResponse
154 154
      */
155 155
     public function postNewServerServiceOption(Request $request)
156 156
     {
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
      * Returns a JSON tree of all avaliable variables for a given service option.
170 170
      *
171 171
      * @param  \Illuminate\Http\Request $request
172
-     * @return \Illuminate\Contracts\View\View
172
+     * @return \Illuminate\Http\JsonResponse
173 173
      */
174 174
     public function postNewServerOptionDetails(Request $request)
175 175
     {
Please login to merge, or discard this patch.