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 — master (#178)
by Robbie
01:43
created
src/Controllers/QueuedJobsAdmin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
     /**
163 163
      * @param  array $data
164 164
      * @param  Form $form
165
-     * @return HTTPResponse
165
+     * @return \SilverStripe\Control\HTTPResponse
166 166
      */
167 167
     public function createjob($data, Form $form)
168 168
     {
Please login to merge, or discard this patch.
src/DataObjects/QueuedJobDescriptor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@
 block discarded – undo
263 263
     }
264 264
 
265 265
     /**
266
-     * @return FieldList
266
+     * @return \SilverStripe\Forms\FieldList
267 267
      */
268 268
     public function getCMSFields()
269 269
     {
Please login to merge, or discard this patch.
src/Forms/GridFieldQueuedJobExecute.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      * Which columns are handled by this component
105 105
      *
106 106
      * @param GridField $gridField
107
-     * @return array
107
+     * @return string[]
108 108
      */
109 109
     public function getColumnsHandled($gridField)
110 110
     {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
      * Which GridField actions are this component handling
116 116
      *
117 117
      * @param GridField $gridField
118
-     * @return array
118
+     * @return string[]
119 119
      */
120 120
     public function getActions($gridField)
121 121
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * @param GridField $gridField
127 127
      * @param DataObject $record
128 128
      * @param string $columnName
129
-     * @return string|void - the HTML for the column
129
+     * @return null|\SilverStripe\ORM\FieldType\DBHTMLText - the HTML for the column
130 130
      */
131 131
     public function getColumnContent($gridField, $record, $columnName)
132 132
     {
Please login to merge, or discard this patch.
src/Jobs/CleanupJob.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 
59 59
     /**
60 60
      * Required because we aren't extending object
61
-     * @return Config_ForClass
61
+     * @return \SilverStripe\Core\Config\Config_ForClass
62 62
      */
63 63
     public function config()
64 64
     {
Please login to merge, or discard this patch.
src/Tasks/Engines/DoormanRunner.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     }
31 31
 
32 32
     /**
33
-     * @return array List of rules
33
+     * @return string List of rules
34 34
      */
35 35
     public function getDefaultRules()
36 36
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
     /**
81 81
      * @param string $queue
82
-     * @return null|QueuedJobDescriptor
82
+     * @return \SilverStripe\ORM\DataObject|null
83 83
      */
84 84
     protected function getNextJobDescriptorWithoutMutex($queue)
85 85
     {
Please login to merge, or discard this patch.
src/Jobs/RunBuildTaskJob.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 class RunBuildTaskJob extends AbstractQueuedJob
21 21
 {
22 22
     /**
23
-     * @param DataObject $node
23
+     * @param string $queryString
24 24
      */
25 25
     public function __construct($taskClass = null, $queryString = null)
26 26
     {
Please login to merge, or discard this patch.
src/Services/QueuedJobService.php 1 patch
Doc Comments   +8 added lines, -4 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      *
153 153
      * @param QueuedJob $job
154 154
      *          The job to start.
155
-     * @param $startAfter
155
+     * @param string $startAfter
156 156
      *          The date (in Y-m-d H:i:s format) to start execution after
157 157
      * @param int $userId
158 158
      *          The ID of a user to execute the job as. Defaults to the current user
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
     /**
209 209
      * Start a job (or however the queue handler determines it should be started)
210 210
      *
211
-     * @param JobDescriptor $jobDescriptor
211
+     * @param QueuedJobDescriptor $jobDescriptor
212 212
      * @param date $startAfter
213 213
      */
214 214
     public function startJob($jobDescriptor, $startAfter = null)
@@ -379,6 +379,7 @@  discard block
 block discarded – undo
379 379
 
380 380
     /**
381 381
      * Checks through ll the scheduled jobs that are expected to exist
382
+     * @param string $queue
382 383
      */
383 384
     public function checkDefaultJobs($queue = null)
384 385
     {
@@ -435,7 +436,7 @@  discard block
 block discarded – undo
435 436
      *
436 437
      * @param QueuedJobDescriptor $stalledJob
437 438
      *
438
-     * @return bool True if the job was successfully restarted
439
+     * @return boolean|null True if the job was successfully restarted
439 440
      */
440 441
     protected function restartStalledJob($stalledJob)
441 442
     {
@@ -961,6 +962,9 @@  discard block
 block discarded – undo
961 962
         }
962 963
     }
963 964
 
965
+    /**
966
+     * @param double $size
967
+     */
964 968
     protected function humanReadable($size)
965 969
     {
966 970
         $filesizename = [" Bytes", " KB", " MB", " GB", " TB", " PB", " EB", " ZB", " YB"];
@@ -977,7 +981,7 @@  discard block
 block discarded – undo
977 981
      *          The number of seconds to include jobs that have just finished, allowing a job list to be built that
978 982
      *          includes recently finished jobs
979 983
      *
980
-     * @return QueuedJobDescriptor
984
+     * @return DataList
981 985
      */
982 986
     public function getJobList($type = null, $includeUpUntil = 0)
983 987
     {
Please login to merge, or discard this patch.