Passed
Branch master (95adcc)
by Matthew
05:24
created
src/Psalm/Checker/StatementsChecker.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
                             /**
147 147
                              * @param string $line
148 148
                              *
149
-                             * @return string
149
+                             * @return false|null
150 150
                              */
151 151
                             function ($line) {
152 152
                                 return explode(' ', trim($line))[0];
Please login to merge, or discard this patch.
src/Psalm/Checker/TypeChecker.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -625,7 +625,7 @@  discard block
 block discarded – undo
625 625
         $simple_declared_types = array_filter(
626 626
             array_keys($declared_type->getTypes()),
627 627
             /**
628
-             * @param  string $type_value
628
+             * @param  ProjectChecker $type_value
629 629
              *
630 630
              * @return  bool
631 631
              */
@@ -637,7 +637,7 @@  discard block
 block discarded – undo
637 637
         $simple_inferred_types = array_filter(
638 638
             array_keys($inferred_type->getTypes()),
639 639
             /**
640
-             * @param  string $type_value
640
+             * @param  ProjectChecker $type_value
641 641
              *
642 642
              * @return  bool
643 643
              */
Please login to merge, or discard this patch.
src/Psalm/Codebase.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -801,8 +801,8 @@  discard block
 block discarded – undo
801 801
 
802 802
         $analysis_worker =
803 803
             /**
804
-             * @param int $i
805
-             * @param string $file_path
804
+             * @param ProjectChecker $i
805
+             * @param integer $file_path
806 806
              *
807 807
              * @return void
808 808
              *
@@ -879,7 +879,6 @@  discard block
 block discarded – undo
879 879
     /**
880 880
      * @param  string $file_path
881 881
      * @param  array<string, string> $filetype_checkers
882
-     * @param  bool   $will_analyze
883 882
      *
884 883
      * @return FileChecker
885 884
      */
Please login to merge, or discard this patch.
src/Psalm/Config.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -695,7 +695,6 @@
 block discarded – undo
695 695
     }
696 696
 
697 697
     /**
698
-     * @param  ProjectChecker $project_checker
699 698
      *
700 699
      * @return void
701 700
      */
Please login to merge, or discard this patch.
src/Psalm/FileManipulation/FunctionDocblockManipulator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
     /**
233 233
      * Sets the new return type
234 234
      *
235
-     * @param   ?string     $php_type
235
+     * @param   string|null     $php_type
236 236
      * @param   string      $new_type
237 237
      * @param   string      $phpdoc_type
238 238
      * @param   bool        $is_php_compatible
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
      * Sets a new param type
254 254
      *
255 255
      * @param   string      $param_name
256
-     * @param   ?string     $php_type
256
+     * @param   string|null     $php_type
257 257
      * @param   string      $new_type
258 258
      * @param   string      $phpdoc_type
259 259
      * @param   bool        $is_php_compatible
Please login to merge, or discard this patch.
src/Psalm/Provider/FileReferenceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
                 /**
58 58
                  * @param  string $file_name
59 59
                  *
60
-                 * @return bool
60
+                 * @return string[]
61 61
                  */
62 62
                 function ($file_name) {
63 63
                     return !file_exists($file_name);
Please login to merge, or discard this patch.
src/Psalm/Provider/ParserCacheProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     /**
29 29
      * @param  string   $file_content_hash
30 30
      * @param  string   $file_cache_key
31
-     * @param mixed $file_modified_time
31
+     * @param integer $file_modified_time
32 32
      *
33 33
      * @return array<int, PhpParser\Node\Stmt>|null
34 34
      *
Please login to merge, or discard this patch.
src/Psalm/StatementsSource.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 interface StatementsSource extends FileSource
7 7
 {
8 8
     /**
9
-     * @return ?string
9
+     * @return string|null
10 10
      */
11 11
     public function getNamespace();
12 12
 
Please login to merge, or discard this patch.
src/Psalm/Stubs/CoreGenericClasses.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
      * @param TKey $index <p>
178 178
      * The index being checked.
179 179
      * </p>
180
-     * @return bool true if the requested index exists, otherwise false
180
+     * @return boolean|null true if the requested index exists, otherwise false
181 181
      * @since 5.0.0
182 182
      */
183 183
     public function offsetExists($index) { }
Please login to merge, or discard this patch.