Completed
Branch master (ae7a9c)
by Iman
08:53
created
src/CheckClasses.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Get all of the listeners and their corresponding events.
35 35
      *
36
-     * @param  iterable  $files
36
+     * @param  Finder  $files
37 37
      * @param  string  $basePath
38 38
      *
39 39
      * @param $composerPath
@@ -89,11 +89,11 @@  discard block
 block discarded – undo
89 89
     /**
90 90
      * Get all of the listeners and their corresponding events.
91 91
      *
92
-     * @param  iterable  $classes
92
+     * @param  Finder  $classes
93 93
      * @param  string  $basePath
94 94
      *
95
-     * @param $composerPath
96
-     * @param $composerNamespace
95
+     * @param string $composerPath
96
+     * @param string $composerNamespace
97 97
      *
98 98
      * @return void
99 99
      */
Please login to merge, or discard this patch.
src/CheckerDispatcher.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@
 block discarded – undo
63 63
         }
64 64
     }
65 65
 
66
+    /**
67
+     * @return string
68
+     */
66 69
     private function stringify($event)
67 70
     {
68 71
         return is_object($event) ? get_class($event) : $event;
Please login to merge, or discard this patch.
src/Commands/CheckView.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * Get all of the listeners and their corresponding events.
53 53
      *
54
-     * @param  iterable  $classes
54
+     * @param  Finder  $classes
55 55
      * @param  string  $basePath
56 56
      *
57 57
      * @param $composerPath
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * @param $method
87
-     * @param $ctrl
87
+     * @param string $ctrl
88 88
      */
89 89
     protected static function checkViews($ctrl)
90 90
     {
Please login to merge, or discard this patch.
src/DiscoverClasses.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     /**
33 33
      * Get all of the listeners and their corresponding events.
34 34
      *
35
-     * @param  iterable  $classes
35
+     * @param  Finder  $classes
36 36
      * @param  string  $basePath
37 37
      *
38 38
      * @param $composerPath
@@ -91,11 +91,11 @@  discard block
 block discarded – undo
91 91
     /**
92 92
      * Get all of the listeners and their corresponding events.
93 93
      *
94
-     * @param  iterable  $classes
94
+     * @param  Finder  $classes
95 95
      * @param  string  $basePath
96 96
      *
97
-     * @param $composerPath
98
-     * @param $composerNamespace
97
+     * @param string $composerPath
98
+     * @param string $composerNamespace
99 99
      *
100 100
      * @return void
101 101
      */
@@ -216,6 +216,9 @@  discard block
 block discarded – undo
216 216
         app(ErrorPrinter::class)->print('It should be:   namespace '.$correctNamespace.';  ');
217 217
     }
218 218
 
219
+    /**
220
+     * @param string $classPath
221
+     */
219 222
     protected static function calculateCorrectNamespace($classPath, $path, $rootNamespace)
220 223
     {
221 224
         $p = explode(DIRECTORY_SEPARATOR, $classPath);
Please login to merge, or discard this patch.
src/ErrorPrinter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -67,6 +67,9 @@
 block discarded – undo
67 67
         $this->end();
68 68
     }
69 69
 
70
+    /**
71
+     * @param string $msg
72
+     */
70 73
     function print($msg)
71 74
     {
72 75
         $len = 81 - strlen($msg);
Please login to merge, or discard this patch.
src/ParseUseStatement.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@
 block discarded – undo
315 315
      * Parses PHP code.
316 316
      *
317 317
      * @param $tokens
318
-     * @param  null  $forClass
318
+     * @param  string  $forClass
319 319
      *
320 320
      * @return array of [class => [alias => class, ...]]
321 321
      */
Please login to merge, or discard this patch.
src/View/ModelParser.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
     /**
95 95
      * @param $method
96 96
      * @param  array  $content
97
-     * @param  array  $search
97
+     * @param \ReflectionClass $ref
98 98
      *
99 99
      * @return array
100 100
      */
Please login to merge, or discard this patch.