Completed
Push — master ( 12bc3a...45fe61 )
by Fumio
02:33
created
sources/Generators/Commands/TestMakeCommand.php 4 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@
 block discarded – undo
94 94
      * @param string $path
95 95
      * @param string $fqcn
96 96
      *
97
-     * @return bool
97
+     * @return boolean|null
98 98
      */
99 99
     protected function generateFile(FileGenerator $generator, $path, $fqcn)
100 100
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Jumilla\Generators\Laravel\OneFileGeneratorCommand as BaseCommand;
6 6
 use Jumilla\Generators\FileGenerator;
7
-use LaravelPlus\Extension\Addons\Addon;
8 7
 use LaravelPlus\Extension\Generators\GeneratorCommandTrait;
9 8
 
10 9
 class TestMakeCommand extends BaseCommand
Please login to merge, or discard this patch.
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -61,16 +61,16 @@
 block discarded – undo
61 61
      *
62 62
      * @return $string
63 63
      */
64
-     protected function getRootNamespace()
65
-     {
66
-         return $this->addon ? 'Tests\\'.studly_case($this->addon->name()) : 'Tests';
67
-     }
64
+        protected function getRootNamespace()
65
+        {
66
+            return $this->addon ? 'Tests\\'.studly_case($this->addon->name()) : 'Tests';
67
+        }
68 68
  
69
-     /**
70
-     * Get the root namespace for the class.
71
-     *
72
-     * @return string
73
-     */
69
+        /**
70
+         * Get the root namespace for the class.
71
+         *
72
+         * @return string
73
+         */
74 74
     protected function getDefaultNamespace()
75 75
     {
76 76
         return $this->getRootNamespace() . ($this->option('unit') ? '\\Unit' : '\\Feature');
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      */
74 74
     protected function getDefaultNamespace()
75 75
     {
76
-        return $this->getRootNamespace() . ($this->option('unit') ? '\\Unit' : '\\Feature');
76
+        return $this->getRootNamespace().($this->option('unit') ? '\\Unit' : '\\Feature');
77 77
     }
78 78
 
79 79
     /**
Please login to merge, or discard this patch.