Completed
Pull Request — master (#96)
by Deven
28:46
created
vendor/phpunit/phpunit/src/Util/Test.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -459,6 +459,9 @@  discard block
 block discarded – undo
459 459
         }
460 460
     }
461 461
 
462
+    /**
463
+     * @param string $docComment
464
+     */
462 465
     private static function cleanUpMultiLineAnnotation($docComment)
463 466
     {
464 467
         //removing initial '   * ' for docComment
@@ -581,7 +584,7 @@  discard block
 block discarded – undo
581 584
      *
582 585
      * @param  string $className
583 586
      * @param  string $methodName
584
-     * @return bool
587
+     * @return boolean|null
585 588
      * @since  Method available since Release 3.4.0
586 589
      */
587 590
     public static function getErrorHandlerSettings($className, $methodName)
@@ -734,7 +737,7 @@  discard block
 block discarded – undo
734 737
      *
735 738
      * @param  string $className
736 739
      * @param  string $methodName
737
-     * @return bool
740
+     * @return boolean|null
738 741
      * @since  Method available since Release 3.4.0
739 742
      */
740 743
     public static function getPreserveGlobalStateSettings($className, $methodName)
@@ -805,7 +808,7 @@  discard block
 block discarded – undo
805 808
      * @param  string $className
806 809
      * @param  string $methodName
807 810
      * @param  string $settingName
808
-     * @return bool
811
+     * @return boolean|null
809 812
      * @since  Method available since Release 3.4.0
810 813
      */
811 814
     private static function getBooleanAnnotationSetting($className, $methodName, $settingName)
@@ -989,7 +992,7 @@  discard block
 block discarded – undo
989 992
 
990 993
     /**
991 994
      * @param  ReflectionMethod $method
992
-     * @return bool
995
+     * @return integer
993 996
      * @since  Method available since Release 4.0.8
994 997
      */
995 998
     private static function isBeforeMethod(ReflectionMethod $method)
@@ -1009,7 +1012,7 @@  discard block
 block discarded – undo
1009 1012
 
1010 1013
     /**
1011 1014
      * @param  ReflectionMethod $method
1012
-     * @return bool
1015
+     * @return integer
1013 1016
      * @since  Method available since Release 4.0.8
1014 1017
      */
1015 1018
     private static function isAfterMethod(ReflectionMethod $method)
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/tests/_files/BankAccount.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Returns the bank account's balance.
31 31
      *
32
-     * @return float
32
+     * @return integer
33 33
      */
34 34
     public function getBalance()
35 35
     {
Please login to merge, or discard this patch.
vendor/phpunit/phpunit/tests/Framework/AssertTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -654,6 +654,9 @@
 block discarded – undo
654 654
         $this->fail();
655 655
     }
656 656
 
657
+    /**
658
+     * @param string $content
659
+     */
657 660
     protected function createDOMDocument($content)
658 661
     {
659 662
         $document                     = new DOMDocument;
Please login to merge, or discard this patch.
vendor/psy/psysh/src/Psy/CodeCleaner.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Set the current local namespace.
117 117
      *
118
-     * @param null|array $namespace (default: null)
118
+     * @param string[] $namespace (default: null)
119 119
      *
120 120
      * @return null|array
121 121
      */
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
      * @param string $code
143 143
      * @param bool   $requireSemicolons
144 144
      *
145
-     * @return array A set of statements
145
+     * @return \PhpParser\Node[] A set of statements
146 146
      */
147 147
     protected function parse($code, $requireSemicolons = false)
148 148
     {
Please login to merge, or discard this patch.
vendor/psy/psysh/src/Psy/CodeCleaner/ValidClassNamePass.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
      *
217 217
      * @throws FatalErrorException
218 218
      *
219
-     * @param $interfaces
219
+     * @param Node\Name[] $interfaces
220 220
      * @param Stmt $stmt
221 221
      */
222 222
     protected function ensureInterfacesExist($interfaces, $stmt)
Please login to merge, or discard this patch.
vendor/psy/psysh/src/Psy/Command/Command.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     /**
87 87
      * These arguments will be excluded from help output.
88 88
      *
89
-     * @return array
89
+     * @return string[]
90 90
      */
91 91
     protected function getHiddenArguments()
92 92
     {
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     /**
109 109
      * These options will be excluded from help output.
110 110
      *
111
-     * @return array
111
+     * @return string[]
112 112
      */
113 113
     protected function getHiddenOptions()
114 114
     {
Please login to merge, or discard this patch.
vendor/psy/psysh/src/Psy/Command/HistoryCommand.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      *
213 213
      * @param string $pattern
214 214
      *
215
-     * @return bool
215
+     * @return boolean|null
216 216
      */
217 217
     private function validateRegex($pattern)
218 218
     {
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
      * Validate that only one of the given $options is set.
230 230
      *
231 231
      * @param InputInterface $input
232
-     * @param array          $options
232
+     * @param string[]          $options
233 233
      */
234 234
     private function validateOnlyOne(InputInterface $input, array $options)
235 235
     {
@@ -253,6 +253,9 @@  discard block
 block discarded – undo
253 253
         $this->readline->clearHistory();
254 254
     }
255 255
 
256
+    /**
257
+     * @param string $string
258
+     */
256 259
     public static function escape($string)
257 260
     {
258 261
         return OutputFormatter::escape($string);
Please login to merge, or discard this patch.
vendor/psy/psysh/src/Psy/Command/ListCommand.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,6 @@
 block discarded – undo
42 42
     /**
43 43
      * PresenterAware interface.
44 44
      *
45
-     * @param Presenter $manager
46 45
      */
47 46
     public function setPresenter(Presenter $presenter)
48 47
     {
Please login to merge, or discard this patch.
vendor/psy/psysh/src/Psy/Command/ListCommand/ClassConstantEnumerator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      *
79 79
      * @param array $constants
80 80
      *
81
-     * @return array
81
+     * @return \ReflectionClass
82 82
      */
83 83
     protected function prepareConstants(array $constants)
84 84
     {
Please login to merge, or discard this patch.