Completed
Push — master ( 7f011d...511c4e )
by recca
04:58
created
src/Console/GeneratorCommand.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,10 +2,10 @@
 block discarded – undo
2 2
 
3 3
 namespace Recca0120\Generator\Console;
4 4
 
5
+use Illuminate\Console\GeneratorCommand as BaseCommand;
6
+use Illuminate\Filesystem\Filesystem;
5 7
 use Illuminate\Support\Str;
6 8
 use Recca0120\Generator\Generator;
7
-use Illuminate\Filesystem\Filesystem;
8
-use Illuminate\Console\GeneratorCommand as BaseCommand;
9 9
 
10 10
 abstract class GeneratorCommand extends BaseCommand
11 11
 {
Please login to merge, or discard this patch.
src/Generator.php 2 patches
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
2 2
 
3 3
 namespace Recca0120\Generator;
4 4
 
5
+use Illuminate\Filesystem\Filesystem;
5 6
 use Illuminate\Support\Arr;
6 7
 use Illuminate\Support\Str;
7
-use Illuminate\Filesystem\Filesystem;
8 8
 use Recca0120\Generator\Fixers\UseSortFixer;
9 9
 
10 10
 class Generator
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      * __construct.
35 35
      *
36 36
      * @param \Illuminate\Filesystem\Filesystem $filesystem   [description]
37
-     * @param \Recca0120\Generator\Fixers\UseSortFixers $useSortFixer [description]
37
+     * @param UseSortFixer $useSortFixer [description]
38 38
      */
39 39
     public function __construct(Filesystem $filesystem = null, UseSortFixer $useSortFixer = null)
40 40
     {
@@ -216,6 +216,7 @@  discard block
 block discarded – undo
216 216
      * set.
217 217
      *
218 218
      * @param string $value
219
+     * @param string $key
219 220
      * @return static
220 221
      */
221 222
     public function set($key, $value)
@@ -229,6 +230,7 @@  discard block
 block discarded – undo
229 230
      * setDefault.
230 231
      *
231 232
      * @param string $value
233
+     * @param string $key
232 234
      * @return static
233 235
      */
234 236
     protected function setDefault($key, $value)
@@ -243,7 +245,7 @@  discard block
 block discarded – undo
243 245
     /**
244 246
      * get.
245 247
      *
246
-     * @param string $value
248
+     * @param string $key
247 249
      * @return string
248 250
      */
249 251
     public function get($key)
@@ -255,7 +257,7 @@  discard block
 block discarded – undo
255 257
      * remove.
256 258
      *
257 259
      * @param string $key
258
-     * @return bool
260
+     * @return boolean|null
259 261
      */
260 262
     public function remove($key)
261 263
     {
Please login to merge, or discard this patch.