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 — integration (#2604)
by Brendan
05:01
created
symphony/lib/toolkit/class.pagemanager.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
          * @param array $fields
24 24
          *  Associative array of field names => values for the Page
25 25
          * @throws DatabaseException
26
-         * @return integer|boolean
26
+         * @return false|string
27 27
          *  Returns the Page ID of the created Page on success, false otherwise.
28 28
          */
29 29
         public static function add(array $fields)
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
          *
66 66
          * @param string $handle
67 67
          *  The handle of the page
68
-         * @return integer
68
+         * @return string
69 69
          *  The Page title
70 70
          */
71 71
         public static function fetchTitleFromHandle($handle)
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
          *
85 85
          * @param string $handle
86 86
          *  The handle of the page
87
-         * @return integer
87
+         * @return string
88 88
          *  The Page ID
89 89
          */
90 90
         public static function fetchIDFromHandle($handle)
@@ -478,7 +478,7 @@  discard block
 block discarded – undo
478 478
          *
479 479
          * @param string $name
480 480
          *  Name of the template
481
-         * @return mixed
481
+         * @return string|false
482 482
          *  String, which is the path to the template if the template is found,
483 483
          *  false otherwise
484 484
          */
@@ -610,10 +610,10 @@  discard block
 block discarded – undo
610 610
          *
611 611
          * @param integer|array $page_id
612 612
          *  The ID of the Page, or an array of ID's
613
-         * @param array $select (optional)
613
+         * @param string[] $select (optional)
614 614
          *  Accepts an array of columns to return from `tbl_pages`. If omitted,
615 615
          *  all columns from the table will be returned.
616
-         * @return array|null
616
+         * @return integer|null
617 617
          *  An associative array of Page information with the key being the column
618 618
          *  name from `tbl_pages` and the value being the data. If multiple Pages
619 619
          *  are found, an array of Pages will be returned. If no Pages are found
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.resourcespage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -452,7 +452,7 @@
 block discarded – undo
452 452
          *
453 453
          * @param string $name
454 454
          *  Name of the template
455
-         * @return mixed
455
+         * @return string|false
456 456
          *  String, which is the path to the template if the template is found,
457 457
          *  false otherwise
458 458
          */
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.section.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@
 block discarded – undo
293 293
          * function.
294 294
          *
295 295
          * @see toolkit.Field#commit()
296
-         * @return boolean
296
+         * @return boolean|null
297 297
          *  true if the commit was successful, false otherwise.
298 298
          */
299 299
         public function commit()
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.sectionmanager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
          *    An associative of settings for a section with the key being
31 31
          *    a column name from `tbl_sections`
32 32
          * @throws DatabaseException
33
-         * @return integer
33
+         * @return false|string
34 34
          *    The newly created Section's ID
35 35
          */
36 36
         public static function add(array $settings)
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
          *
195 195
          * @param string $handle
196 196
          *  The handle of the section
197
-         * @return integer
197
+         * @return string
198 198
          *  The Section ID
199 199
          */
200 200
         public static function fetchIDFromHandle($handle)
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
          * @param integer $field_id
283 283
          *    the field ID of the linked section's linked field.
284 284
          * @throws DatabaseException
285
-         * @return boolean
285
+         * @return PDOStatement
286 286
          */
287 287
         public static function removeSectionAssociation($field_id)
288 288
         {
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.smtp.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
          * @param string $message
114 114
          * @throws SMTPException
115 115
          * @throws Exception
116
-         * @return boolean
116
+         * @return boolean|null
117 117
          */
118 118
         public function sendMail($from, $to, $message)
119 119
         {
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
          *
310 310
          * @param string $request
311 311
          * @throws SMTPException
312
-         * @return boolean|integer number of characters written.
312
+         * @return integer number of characters written.
313 313
          */
314 314
         protected function _send($request)
315 315
         {
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.xmlelement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@
 block discarded – undo
315 315
         /**
316 316
          * Accessor for `$_value`
317 317
          *
318
-         * @return string|XMLElement
318
+         * @return string
319 319
          */
320 320
         public function getValue()
321 321
         {
Please login to merge, or discard this patch.
symphony/lib/toolkit/data-sources/class.datasource.navigation.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -60,6 +60,9 @@
 block discarded – undo
60 60
             return $result;
61 61
         }
62 62
 
63
+        /**
64
+         * @param integer $filter_type
65
+         */
63 66
         public function __processNavigationTypeFilter($filter, $filter_type = Datasource::FILTER_OR)
64 67
         {
65 68
             $types = preg_split('/' . ($filter_type === Datasource::FILTER_AND ? '\+' : '(?<!\\\\),') . '\s*/', $filter,
Please login to merge, or discard this patch.
symphony/lib/toolkit/events/class.event.section.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
          * the XML.
56 56
          *
57 57
          * @throws Exception
58
-         * @return XMLElement|void
58
+         * @return XMLElement
59 59
          *  If `$_REQUEST{'redirect']` is set, and the Event executed successfully,
60 60
          *  the user will be redirected to the given location. If `$_REQUEST['redirect']`
61 61
          *  is not set, or the Event encountered errors, an XMLElement of the Event
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
          *  If this Event is editing an existing entry, that Entry ID will
179 179
          *  be passed to this function.
180 180
          * @throws Exception
181
-         * @return XMLElement
181
+         * @return boolean
182 182
          *  The result of the Event
183 183
          */
184 184
         public function __doit(array $fields = array(), XMLElement &$result, $position = null, $entry_id = null)
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
          * @param XMLElement $result
393 393
          * @param array $fields
394 394
          * @param array $errors
395
-         * @param object $post_values
395
+         * @param XMLElement $post_values
396 396
          * @throws Exception
397 397
          * @return XMLElement
398 398
          */
Please login to merge, or discard this patch.
symphony/lib/toolkit/fields/field.author.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@
 block discarded – undo
27 27
             Definition:
28 28
         -------------------------------------------------------------------------*/
29 29
 
30
+        /**
31
+         * @param string $field
32
+         */
30 33
         public function set($field, $value)
31 34
         {
32 35
             if ($field === 'author_types' && !is_array($value)) {
Please login to merge, or discard this patch.