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 ( a3ab80...7a98f7 )
by Brendan
06:22
created
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.
symphony/lib/toolkit/class.mysql.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
          * Returns the last insert ID from the previous query. This is
356 356
          * the value from an auto_increment field.
357 357
          *
358
-         * @return integer
358
+         * @return string
359 359
          *  The last interested row's ID
360 360
          */
361 361
         public function getInsertID()
@@ -382,7 +382,7 @@  discard block
 block discarded – undo
382 382
          *  conflicts. By default this is set to false, which will not update the data and
383 383
          *  would return an SQL error
384 384
          * @throws DatabaseException
385
-         * @return boolean
385
+         * @return PDOStatement
386 386
          */
387 387
         public function insert(array $fields, $table, $updateOnDuplicate = false)
388 388
         {
@@ -445,7 +445,7 @@  discard block
 block discarded – undo
445 445
          *  A WHERE statement for this UPDATE statement, defaults to null
446 446
          *  which will update all rows in the $table
447 447
          * @param array $params
448
-         * @return bool
448
+         * @return PDOStatement
449 449
          */
450 450
         public function update($fields, $table, $where = null, $params = array())
451 451
         {
@@ -472,7 +472,7 @@  discard block
 block discarded – undo
472 472
          *  which will delete all rows in the $table
473 473
          * @param array $params
474 474
          * @throws DatabaseException
475
-         * @return boolean
475
+         * @return PDOStatement
476 476
          */
477 477
         public function delete($table, $where = null, array $params = array())
478 478
         {
@@ -685,7 +685,7 @@  discard block
 block discarded – undo
685 685
          * @throws Exception
686 686
          * @param string $sql
687 687
          *  A string containing SQL queries delimited by `;`
688
-         * @return boolean
688
+         * @return boolean|null
689 689
          *  If one of the queries fails, false will be returned and no further queries
690 690
          *  will be executed, otherwise true will be returned.
691 691
          */
Please login to merge, or discard this patch.
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.