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 — master ( 1496c8...a81d72 )
by Robert
16s
created
framework/widgets/LinkPager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@
 block discarded – undo
224 224
     }
225 225
 
226 226
     /**
227
-     * @return array the begin and end pages that need to be displayed.
227
+     * @return integer[] the begin and end pages that need to be displayed.
228 228
      */
229 229
     protected function getPageRange()
230 230
     {
Please login to merge, or discard this patch.
framework/db/Query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -795,7 +795,7 @@
 block discarded – undo
795 795
 
796 796
     /**
797 797
      * Appends a SQL statement using UNION operator.
798
-     * @param string|Query $sql the SQL statement to be appended using UNION
798
+     * @param Query $sql the SQL statement to be appended using UNION
799 799
      * @param boolean $all TRUE if using UNION ALL and FALSE if using UNION
800 800
      * @return $this the query object itself
801 801
      */
Please login to merge, or discard this patch.
framework/console/controllers/MessageController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -574,7 +574,7 @@
 block discarded – undo
574 574
      * Finds out a line of the first non-char PHP token found
575 575
      *
576 576
      * @param array $tokens
577
-     * @return integer|string
577
+     * @return string
578 578
      * @since 2.0.1
579 579
      */
580 580
     protected function getLine($tokens)
Please login to merge, or discard this patch.
framework/behaviors/AttributeBehavior.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -126,7 +126,7 @@
 block discarded – undo
126 126
      * This method is called by [[evaluateAttributes()]]. Its return value will be assigned
127 127
      * to the attributes corresponding to the triggering event.
128 128
      * @param Event $event the event that triggers the current attribute updating.
129
-     * @return mixed the attribute value
129
+     * @return string the attribute value
130 130
      */
131 131
     protected function getValue($event)
132 132
     {
Please login to merge, or discard this patch.
build/controllers/PhpDocController.php 1 patch
Doc Comments   +24 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,6 +114,9 @@  discard block
 block discarded – undo
114 114
         return array_merge(parent::options($actionID), ['updateFiles', 'skipFrameworkRequirements']);
115 115
     }
116 116
 
117
+    /**
118
+     * @param string|null $root
119
+     */
117 120
     protected function findFiles($root, $needsInclude = true)
118 121
     {
119 122
         $except = [];
@@ -237,6 +240,9 @@  discard block
 block discarded – undo
237 240
         return FileHelper::findFiles($root, $options);
238 241
     }
239 242
 
243
+    /**
244
+     * @param string $extensionPath
245
+     */
240 246
     private function setUpExtensionAliases($extensionPath)
241 247
     {
242 248
         foreach (scandir($extensionPath) as $extension) {
@@ -344,6 +350,9 @@  discard block
 block discarded – undo
344 350
         }
345 351
     }
346 352
 
353
+    /**
354
+     * @param string $line
355
+     */
347 356
     protected function fixParamTypes($line)
348 357
     {
349 358
         return preg_replace_callback('~@(param|return) ([\w\\|]+)~i', function($matches) {
@@ -477,6 +486,10 @@  discard block
 block discarded – undo
477 486
         // TODO
478 487
     }
479 488
 
489
+    /**
490
+     * @param null|string $className
491
+     * @param string $propertyDoc
492
+     */
480 493
     protected function updateClassPropertyDocs($file, $className, $propertyDoc)
481 494
     {
482 495
         $ref = new \ReflectionClass($className);
@@ -552,7 +565,7 @@  discard block
 block discarded – undo
552 565
     /**
553 566
      * remove multi empty lines and trim trailing whitespace
554 567
      *
555
-     * @param $doc
568
+     * @param string $doc
556 569
      * @return string
557 570
      */
558 571
     protected function cleanDocComment($doc)
@@ -571,7 +584,7 @@  discard block
 block discarded – undo
571 584
 
572 585
     /**
573 586
      * Replace property annotations in doc comment
574
-     * @param $doc
587
+     * @param string $doc
575 588
      * @param $properties
576 589
      * @return string
577 590
      */
@@ -739,6 +752,9 @@  discard block
 block discarded – undo
739 752
         return [$className, $phpdoc];
740 753
     }
741 754
 
755
+    /**
756
+     * @param string $pattern
757
+     */
742 758
     protected function match($pattern, $subject, $split = false)
743 759
     {
744 760
         $sets = [];
@@ -760,6 +776,9 @@  discard block
 block discarded – undo
760 776
         return $sets;
761 777
     }
762 778
 
779
+    /**
780
+     * @param string $str
781
+     */
763 782
     protected function fixSentence($str)
764 783
     {
765 784
         // TODO fix word wrap
@@ -768,6 +787,9 @@  discard block
 block discarded – undo
768 787
         return strtoupper(substr($str, 0, 1)) . substr($str, 1) . ($str[strlen($str) - 1] != '.' ? '.' : '');
769 788
     }
770 789
 
790
+    /**
791
+     * @param string $param
792
+     */
771 793
     protected function getPropParam($prop, $param)
772 794
     {
773 795
         return isset($prop['property']) ? $prop['property'][$param] : (isset($prop['get']) ? $prop['get'][$param] : $prop['set'][$param]);
Please login to merge, or discard this patch.
framework/console/Controller.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
      *
263 263
      * @param string $message to echo out before waiting for user input
264 264
      * @param boolean $default this value is returned if no selection is made.
265
-     * @return boolean whether user confirmed.
265
+     * @return boolean|null whether user confirmed.
266 266
      * Will return true if [[interactive]] is false.
267 267
      */
268 268
     public function confirm($message, $default = false)
@@ -298,7 +298,7 @@  discard block
 block discarded – undo
298 298
      * until [[beforeAction()]] is being called.
299 299
      *
300 300
      * @param string $actionID the action id of the current request
301
-     * @return array the names of the options valid for the action
301
+     * @return string[] the names of the options valid for the action
302 302
      */
303 303
     public function options($actionID)
304 304
     {
Please login to merge, or discard this patch.
framework/helpers/BaseConsole.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -576,7 +576,7 @@  discard block
 block discarded – undo
576 576
      * - windows without ansicon
577 577
      * - not tty consoles
578 578
      *
579
-     * @param mixed $stream
579
+     * @param resource $stream
580 580
      * @return boolean true if the stream supports ANSI colors, otherwise false.
581 581
      */
582 582
     public static function streamSupportsAnsiColors($stream)
@@ -601,7 +601,7 @@  discard block
 block discarded – undo
601 601
      * @param boolean $refresh whether to force checking and not re-use cached size value.
602 602
      * This is useful to detect changing window size while the application is running but may
603 603
      * not get up to date values on every terminal.
604
-     * @return array|boolean An array of ($width, $height) or false when it was not able to determine size.
604
+     * @return string An array of ($width, $height) or false when it was not able to determine size.
605 605
      */
606 606
     public static function getScreenSize($refresh = false)
607 607
     {
@@ -807,7 +807,7 @@  discard block
 block discarded – undo
807 807
      *
808 808
      * @param string $message to print out before waiting for user input
809 809
      * @param boolean $default this value is returned if no selection is made.
810
-     * @return boolean whether user confirmed
810
+     * @return boolean|null whether user confirmed
811 811
      */
812 812
     public static function confirm($message, $default = false)
813 813
     {
Please login to merge, or discard this patch.
build/controllers/ReleaseController.php 1 patch
Doc Comments   +20 added lines, -1 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
 
366 366
     /**
367 367
      * @param array $what list of items
368
-     * @param array $limit list of things to allow, or empty to allow any, can be `app`, `framework`, `extension`
368
+     * @param string[] $limit list of things to allow, or empty to allow any, can be `app`, `framework`, `extension`
369 369
      * @throws \yii\base\Exception
370 370
      */
371 371
     protected function validateWhat(array $what, $limit = [], $ensureGitClean = true)
@@ -537,6 +537,10 @@  discard block
 block discarded – undo
537 537
 
538 538
     }
539 539
 
540
+    /**
541
+     * @param string $name
542
+     * @param string $path
543
+     */
540 544
     protected function releaseApplication($name, $path, $version)
541 545
     {
542 546
         $this->stdout("\n");
@@ -637,6 +641,9 @@  discard block
 block discarded – undo
637 641
         Yii::setAlias('@app', $this->_oldAlias);
638 642
     }
639 643
 
644
+    /**
645
+     * @param string $name
646
+     */
640 647
     protected function packageApplication($name, $version, $packagePath)
641 648
     {
642 649
         FileHelper::createDirectory($packagePath);
@@ -796,6 +803,9 @@  discard block
 block discarded – undo
796 803
     }
797 804
 
798 805
 
806
+    /**
807
+     * @param string[] $what
808
+     */
799 809
     protected function closeChangelogs($what, $version)
800 810
     {
801 811
         $v = str_replace('\\-', '[\\- ]', preg_quote($version, '/'));
@@ -807,6 +817,9 @@  discard block
 block discarded – undo
807 817
         );
808 818
     }
809 819
 
820
+    /**
821
+     * @param string[] $what
822
+     */
810 823
     protected function openChangelogs($what, $version)
811 824
     {
812 825
         $headline = "\n$version under development\n";
@@ -957,6 +970,9 @@  discard block
 block discarded – undo
957 970
             $frameworkPath . '/BaseYii.php');
958 971
     }
959 972
 
973
+    /**
974
+     * @param string $pattern
975
+     */
960 976
     protected function sed($pattern, $replace, $files)
961 977
     {
962 978
         foreach((array) $files as $file) {
@@ -989,6 +1005,9 @@  discard block
 block discarded – undo
989 1005
     const MINOR = 'minor';
990 1006
     const PATCH = 'patch';
991 1007
 
1008
+    /**
1009
+     * @param string $type
1010
+     */
992 1011
     protected function getNextVersions(array $versions, $type)
993 1012
     {
994 1013
         foreach($versions as $k => $v) {
Please login to merge, or discard this patch.