Completed
Push — master ( 49a1b0...8b5f21 )
by Iman
01:30
created
src/GenerateCode.php 1 patch
Doc Comments   +12 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,10 +14,10 @@  discard block
 block discarded – undo
14 14
     /**
15 15
      * Get all of the listeners and their corresponding events.
16 16
      *
17
-     * @param  iterable  $paths
17
+     * @param  \Symfony\Component\Finder\Finder  $paths
18 18
      * @param  $composerPath
19 19
      * @param  $composerNamespace
20
-     * @param  $command
20
+     * @param  Commands\CheckExpansions $command
21 21
      *
22 22
      * @return void
23 23
      */
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
69 69
         return $path;
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $name
74
+     */
72 75
     private static function ask($command, $name)
73 76
     {
74 77
         return $command->getOutput()->confirm('Do you want to generate a service provider: '.$name, true);
@@ -83,6 +86,9 @@  discard block
 block discarded – undo
83 86
             \in_array(T_DOUBLE_ARROW, [$tokens[$i + 1][0], $tokens[$i + 2][0]]);
84 87
     }
85 88
 
89
+    /**
90
+     * @param string $providerPath
91
+     */
86 92
     private static function addToProvidersArray($providerPath)
87 93
     {
88 94
         $tokens = token_get_all(file_get_contents(config_path('app.php')));
@@ -107,6 +113,10 @@  discard block
 block discarded – undo
107 113
         return $tokens;
108 114
     }
109 115
 
116
+    /**
117
+     * @param \Symfony\Component\Finder\SplFileInfo $classFilePath
118
+     * @param string $namespace
119
+     */
110 120
     protected static function generateFolderStructure($classFilePath, $namespace)
111 121
     {
112 122
         $_basePath = $classFilePath->getPath().DIRECTORY_SEPARATOR;
Please login to merge, or discard this patch.