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
Push — integration ( 5cdb31...81c93f )
by Brendan
04:03
created
symphony/lib/toolkit/class.general.php 1 patch
Doc Comments   +12 added lines, -8 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      * @param boolean $isFile (optional)
105 105
      *  if this is true, the method will attempt to read from a file, `$data`
106 106
      *  instead.
107
-     * @param mixed $xsltProcessor (optional)
107
+     * @param XsltProcess $xsltProcessor (optional)
108 108
      *  if set, the validation will be done using this XSLT processor rather
109 109
      *  than the built in XML parser. the default is null.
110 110
      * @param string $encoding (optional)
@@ -491,7 +491,7 @@  discard block
 block discarded – undo
491 491
      *  the string to operate on
492 492
      * @param integer $val
493 493
      *  the number to compare lengths with
494
-     * @return string|boolean
494
+     * @return string
495 495
      *  the resulting string or false on failure.
496 496
      */
497 497
     public static function substrmin($str, $val)
@@ -508,7 +508,7 @@  discard block
 block discarded – undo
508 508
      *  the string to operate on
509 509
      * @param integer $val
510 510
      *  the number to compare lengths with
511
-     * @return string|boolean
511
+     * @return string
512 512
      *  the resulting string or false on failure.
513 513
      */
514 514
     public static function substrmax($str, $val)
@@ -523,7 +523,7 @@  discard block
 block discarded – undo
523 523
      *  the string to extract the characters from.
524 524
      * @param integer $num
525 525
      *  the number of characters to extract.
526
-     * @return string|boolean
526
+     * @return string
527 527
      *  a string containing the last `$num` characters of the
528 528
      *  input string, or false on failure.
529 529
      */
@@ -540,7 +540,7 @@  discard block
 block discarded – undo
540 540
      *  the string to extract the characters from.
541 541
      * @param integer $num
542 542
      *  the number of characters to extract.
543
-     * @return string|boolean
543
+     * @return string
544 544
      *  a string containing the last `$num` characters of the
545 545
      *  input string, or false on failure.
546 546
      */
@@ -737,6 +737,10 @@  discard block
 block discarded – undo
737 737
     public static function getPostData()
738 738
     {
739 739
         if (!function_exists('merge_file_post_data')) {
740
+
741
+            /**
742
+             * @param string $type
743
+             */
740 744
             function merge_file_post_data($type, array $file, &$post)
741 745
             {
742 746
                 foreach ($file as $key => $value) {
@@ -955,7 +959,7 @@  discard block
 block discarded – undo
955 959
      *  the path of the file to write.
956 960
      * @param mixed $data
957 961
      *  the data to write to the file.
958
-     * @param integer|null $perm (optional)
962
+     * @param integer $perm (optional)
959 963
      *  the permissions as an octal number to set set on the resulting file.
960 964
      *  this defaults to 0644 (if omitted or set to null)
961 965
      * @param string $mode (optional)
@@ -1156,7 +1160,7 @@  discard block
 block discarded – undo
1156 1160
      * @param mixed $strip_root (optional)
1157 1161
      *  If null, the full path to the file will be returned, otherwise the value
1158 1162
      *  of `strip_root` will be removed from the file path.
1159
-     * @param array $exclude (optional)
1163
+     * @param string[] $exclude (optional)
1160 1164
      *  ignore directories listed in this array. this defaults to an empty array.
1161 1165
      * @param boolean $ignore_hidden (optional)
1162 1166
      *  ignore hidden directory (i.e.directories that begin with a period). this defaults
@@ -1208,7 +1212,7 @@  discard block
 block discarded – undo
1208 1212
      * @param string $dir (optional)
1209 1213
      *  the path of the directory to construct the multi-dimensional array
1210 1214
      *  for. this defaults to '.'.
1211
-     * @param array|string $filters (optional)
1215
+     * @param string $filters (optional)
1212 1216
      *  either a regular expression to filter the files by or an array of
1213 1217
      *  files to include.
1214 1218
      * @param boolean $recurse (optional)
Please login to merge, or discard this patch.