Passed
Push — main ( 954d7b...113815 )
by Garbuz
02:34
created
src/Builder/DirGenerator.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function makeTests(): bool
34 34
     {
35
-        if(!$this->package->getGeneratorTests()){
35
+        if (!$this->package->getGeneratorTests()) {
36 36
             return false;
37 37
         }
38 38
         $this->mkdir($this->package->getPath('tests'));
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function makeSeeds(): bool
46 46
     {
47
-        if(!$this->package->getGeneratorSeed()){
47
+        if (!$this->package->getGeneratorSeed()) {
48 48
             return false;
49 49
         }
50 50
         $this->mkdir($this->package->getPath('seeds'));
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function makeApi(): bool
58 58
     {
59
-        if(!$this->package->getGeneratorApi()){
59
+        if (!$this->package->getGeneratorApi()) {
60 60
             return false;
61 61
         }
62 62
         $this->mkdir($this->package->getPath('src/Cases/Api'));
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     public function makeApiFrontend(): bool
70 70
     {
71
-        if(!$this->package->getGeneratorApiFrontend()){
71
+        if (!$this->package->getGeneratorApiFrontend()) {
72 72
             return false;
73 73
         }
74 74
         $this->mkdir($this->package->getPath('src/Cases/Api/Frontend'));
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function makeLaravelAdmin(): bool
82 82
     {
83
-        if(!$this->package->getGeneratorLaravelAdmin()){
83
+        if (!$this->package->getGeneratorLaravelAdmin()) {
84 84
             return false;
85 85
         }
86 86
         $this->mkdir($this->package->getPath('src/Admin'));
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function mkdir(string $path): bool
95 95
     {
96
-        if(!is_dir($path)){
96
+        if (!is_dir($path)) {
97 97
             mkdir($path, 0777, true);
98 98
         }
99 99
         return true;
Please login to merge, or discard this patch.