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:13
created
symphony/lib/toolkit/class.entry.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@
 block discarded – undo
145 145
          *
146 146
          * @see toolkit.MySQL#getInsertID()
147 147
          * @throws DatabaseException
148
-         * @return integer
148
+         * @return null|string
149 149
          */
150 150
         public function assignEntryId()
151 151
         {
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.entrymanager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -475,7 +475,7 @@  discard block
 block discarded – undo
475 475
          *
476 476
          * @param integer $entry_id
477 477
          *  The ID of the Entry to return it's section
478
-         * @return integer
478
+         * @return string
479 479
          *  The Section ID for this Entry's section
480 480
          */
481 481
         public static function fetchEntrySectionID($entry_id)
@@ -654,7 +654,7 @@  discard block
 block discarded – undo
654 654
          *  by providing an array of field names. Defaults to null, which will load data
655 655
          *  from all fields in a section.
656 656
          * @throws Exception
657
-         * @return array
657
+         * @return integer|null
658 658
          *  Either an array of Entry objects, or an associative array containing
659 659
          *  the total entries, the start position, the entries per page and the
660 660
          *  Entry objects
@@ -725,7 +725,7 @@  discard block
 block discarded – undo
725 725
          *  Any custom JOIN's
726 726
          * @param boolean $group
727 727
          *  Whether the entries need to be grouped by Entry ID or not
728
-         * @return integer
728
+         * @return false|string
729 729
          */
730 730
         public static function fetchCount($section_id = null, $where = null, $joins = null, $group = false)
731 731
         {
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.event.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
          * edit an event but it's `allowEditorToParse()` returns `false`. If this is not implemented by
92 92
          * the event, a default Symphony message will appear.
93 93
          *
94
-         * @return string|XMLElement
94
+         * @return string
95 95
          */
96 96
         public static function documentation()
97 97
         {
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
          *
107 107
          * @param string $language
108 108
          *  Language used in system
109
-         * @return mixed
109
+         * @return string|false
110 110
          *  String, which is the path to the template if the template is found,
111 111
          *  false otherwise
112 112
          */
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.extensionmanager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -570,7 +570,7 @@  discard block
 block discarded – undo
570 570
          *  The name of the Extension Class minus the extension prefix.
571 571
          * @param string $file_version
572 572
          *  The version of the extension from the **file**, not the Database.
573
-         * @return string|boolean
573
+         * @return false|string
574 574
          *  If the given extension (by $name) requires updating, the installed
575 575
          *  version is returned, otherwise, if the extension doesn't require
576 576
          *  updating, false.
@@ -744,7 +744,7 @@  discard block
 block discarded – undo
744 744
          *  An extension object
745 745
          * @throws SymphonyErrorPage
746 746
          * @throws Exception
747
-         * @return boolean
747
+         * @return boolean|null
748 748
          */
749 749
         private static function __canUninstallOrDisable(Extension $obj)
750 750
         {
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.field.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1223,7 +1223,7 @@  discard block
 block discarded – undo
1223 1223
          * If the date type is set, only the calendar will be shown in the suggestion dropdown.
1224 1224
          *
1225 1225
          * @since Symphony 2.6.0
1226
-         * @return array
1226
+         * @return string[]
1227 1227
          */
1228 1228
         public function fetchSuggestionTypes()
1229 1229
         {
@@ -1449,7 +1449,7 @@  discard block
 block discarded – undo
1449 1449
          * @link http://dev.mysql.com/doc/refman/5.5/en/regexp.html
1450 1450
          * @param string $filter
1451 1451
          *  The full filter, eg. `regexp: ^[a-d]`
1452
-         * @param array $columns
1452
+         * @param string[] $columns
1453 1453
          *  The array of columns that need the given `$filter` applied to. The conditions
1454 1454
          *  will be added using `OR`.
1455 1455
          * @param string $joins
@@ -1564,7 +1564,7 @@  discard block
 block discarded – undo
1564 1564
          *  The data for this field from it's `tbl_entry_data_{id}` table
1565 1565
          * @param integer $entry_id
1566 1566
          *  The optional id of this field entry instance
1567
-         * @return string|array
1567
+         * @return string
1568 1568
          *  The formatted value to be used as the parameter. Note that this can be
1569 1569
          *  an array or a string. When returning multiple values use array, otherwise
1570 1570
          *  use string.
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.fieldmanager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
          * @throws DatabaseException
48 48
          * @param array $fields
49 49
          *  Associative array of field names => values for the Field object
50
-         * @return integer|boolean
50
+         * @return false|string
51 51
          *  Returns a Field ID of the created Field on success, false otherwise.
52 52
          */
53 53
         public static function add(array $fields)
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
          * @param array $settings
96 96
          *  An associative array of settings, where the key is the column name
97 97
          *  and the value is the value.
98
-         * @return boolean
98
+         * @return PDOStatement
99 99
          *  True on success, false on failure
100 100
          */
101 101
         public static function saveSettings($field_id, $settings)
@@ -403,7 +403,7 @@  discard block
 block discarded – undo
403 403
          *
404 404
          * @param string $type
405 405
          *  The field handle, that is, `field.{$handle}.php`
406
-         * @return string|boolean
406
+         * @return string|false
407 407
          */
408 408
         public static function __getClassPath($type)
409 409
         {
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.general.php 1 patch
Doc Comments   +12 added lines, -8 removed lines patch added patch discarded remove patch
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
          *  the string to operate on
338 338
          * @param integer $val
339 339
          *  the number to compare lengths with
340
-         * @return string|boolean
340
+         * @return string
341 341
          *  the resulting string or false on failure.
342 342
          */
343 343
         public static function substrmin($str, $val)
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
          *  the string to operate on
399 399
          * @param integer $val
400 400
          *  the number to compare lengths with
401
-         * @return string|boolean
401
+         * @return string
402 402
          *  the resulting string or false on failure.
403 403
          */
404 404
         public static function substrmax($str, $val)
@@ -413,7 +413,7 @@  discard block
 block discarded – undo
413 413
          *  the string to extract the characters from.
414 414
          * @param integer $num
415 415
          *  the number of characters to extract.
416
-         * @return string|boolean
416
+         * @return string
417 417
          *  a string containing the last `$num` characters of the
418 418
          *  input string, or false on failure.
419 419
          */
@@ -431,7 +431,7 @@  discard block
 block discarded – undo
431 431
          *  the string to extract the characters from.
432 432
          * @param integer $num
433 433
          *  the number of characters to extract.
434
-         * @return string|boolean
434
+         * @return string
435 435
          *  a string containing the last `$num` characters of the
436 436
          *  input string, or false on failure.
437 437
          */
@@ -629,6 +629,10 @@  discard block
 block discarded – undo
629 629
         public static function getPostData()
630 630
         {
631 631
             if (!function_exists('merge_file_post_data')) {
632
+
633
+                /**
634
+                 * @param string $type
635
+                 */
632 636
                 function merge_file_post_data($type, array $file, &$post)
633 637
                 {
634 638
                     foreach ($file as $key => $value) {
@@ -848,7 +852,7 @@  discard block
 block discarded – undo
848 852
          * @param boolean $isFile (optional)
849 853
          *  if this is true, the method will attempt to read from a file, `$data`
850 854
          *  instead.
851
-         * @param mixed $xsltProcessor (optional)
855
+         * @param XsltProcess $xsltProcessor (optional)
852 856
          *  if set, the validation will be done using this XSLT processor rather
853 857
          *  than the built in XML parser. the default is null.
854 858
          * @param string $encoding (optional)
@@ -930,7 +934,7 @@  discard block
 block discarded – undo
930 934
          *  the path of the file to write.
931 935
          * @param mixed $data
932 936
          *  the data to write to the file.
933
-         * @param integer|null $perm (optional)
937
+         * @param integer $perm (optional)
934 938
          *  the permissions as an octal number to set set on the resulting file.
935 939
          *  this defaults to 0644 (if omitted or set to null)
936 940
          * @param string $mode (optional)
@@ -1051,7 +1055,7 @@  discard block
 block discarded – undo
1051 1055
          * @param mixed $strip_root (optional)
1052 1056
          *  If null, the full path to the file will be returned, otherwise the value
1053 1057
          *  of `strip_root` will be removed from the file path.
1054
-         * @param array $exclude (optional)
1058
+         * @param string[] $exclude (optional)
1055 1059
          *  ignore directories listed in this array. this defaults to an empty array.
1056 1060
          * @param boolean $ignore_hidden (optional)
1057 1061
          *  ignore hidden directory (i.e.directories that begin with a period). this defaults
@@ -1110,7 +1114,7 @@  discard block
 block discarded – undo
1110 1114
          * @param string $dir (optional)
1111 1115
          *  the path of the directory to construct the multi-dimensional array
1112 1116
          *  for. this defaults to '.'.
1113
-         * @param array|string $filters (optional)
1117
+         * @param string $filters (optional)
1114 1118
          *  either a regular expression to filter the files by or an array of
1115 1119
          *  files to include.
1116 1120
          * @param boolean $recurse (optional)
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.htmlpage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -298,7 +298,7 @@
 block discarded – undo
298 298
          * it is also possible to override the default filters on the resulting string.
299 299
          *
300 300
          * @link http://php.net/manual/en/filter.filters.php
301
-         * @param array $exclude
301
+         * @param string[] $exclude
302 302
          *  A simple array with the keys that should be omitted in the resulting
303 303
          *  query string.
304 304
          * @param integer $filters
Please login to merge, or discard this patch.
symphony/lib/toolkit/class.lang.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -542,7 +542,7 @@
 block discarded – undo
542 542
          * @since Symphony 2.3
543 543
          * @param string $string
544 544
          *  The string that should be cleaned-up
545
-         * @return mixed
545
+         * @return string
546 546
          *  Returns the transliterated string
547 547
          */
548 548
         private static function applyTransliterations($string)
Please login to merge, or discard this patch.