@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | } |
74 | 74 | |
75 | 75 | // check initialize conditions (equals to $exist) |
76 | - if (file_exists($this->dir . '/' . $migration)) { |
|
76 | + if (file_exists($this->dir.'/'.$migration)) { |
|
77 | 77 | if (Arr::in($fullName, $dbmigrations) === $exist) { |
78 | 78 | $found[] = $migration; |
79 | 79 | } |
@@ -103,17 +103,17 @@ discard block |
||
103 | 103 | } |
104 | 104 | |
105 | 105 | // check if migration file is exists |
106 | - if (!File::exist($this->dir . '/' . $file)) { |
|
106 | + if (!File::exist($this->dir.'/'.$file)) { |
|
107 | 107 | return false; |
108 | 108 | } |
109 | 109 | |
110 | 110 | // check if migration file located in extend directory and copy to default |
111 | 111 | if (Normalize::diskFullPath($this->dir) !== Normalize::diskFullPath(static::DEFAULT_DIR)) { |
112 | - File::copy($this->dir . DIRECTORY_SEPARATOR . $file, static::DEFAULT_DIR . DIRECTORY_SEPARATOR . $file); |
|
112 | + File::copy($this->dir.DIRECTORY_SEPARATOR.$file, static::DEFAULT_DIR.DIRECTORY_SEPARATOR.$file); |
|
113 | 113 | } |
114 | 114 | |
115 | 115 | // include migration and get class name |
116 | - File::inc($this->dir . '/' . $file, false, false); |
|
116 | + File::inc($this->dir.'/'.$file, false, false); |
|
117 | 117 | $fullName = Str::cleanExtension($file); |
118 | 118 | $class = Str::firstIn($fullName, '-'); |
119 | 119 | |
@@ -149,11 +149,11 @@ discard block |
||
149 | 149 | } |
150 | 150 | |
151 | 151 | // check if exists |
152 | - if (!File::exist($this->dir . '/' . $file)) { |
|
152 | + if (!File::exist($this->dir.'/'.$file)) { |
|
153 | 153 | return false; |
154 | 154 | } |
155 | 155 | |
156 | - File::inc($this->dir . '/' . $file, false, false); |
|
156 | + File::inc($this->dir.'/'.$file, false, false); |
|
157 | 157 | $fullName = Str::cleanExtension($file); |
158 | 158 | $class = Str::firstIn($fullName, '-'); |
159 | 159 |