Skip to content

Commit 6ea68c6

Browse files
authored
Apply fixes from StyleCI (#10)
1 parent 5d49274 commit 6ea68c6

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

config/environments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
'clear_directory_when_overwriting' => false,
2626

2727
/*
28-
* Keep existing file in base directory when this file is
28+
* Keep existing file in base directory when this file is
2929
* not existing in environment that being set as active.
3030
*/
3131
'keep_existing_file_when_missing' => false,

src/Services/EnvironmentManagerService.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,9 @@ public function setActive($name)
177177

178178
$this->activateFiles();
179179

180-
if (! $this->getConfig('keep_existing_file_when_missing'))
180+
if (! $this->getConfig('keep_existing_file_when_missing')) {
181181
$this->deleteNotExistingFiles();
182+
}
182183

183184
return true;
184185
}
@@ -213,7 +214,7 @@ protected function deleteNotExistingFiles()
213214

214215
collect($files)
215216
->each(function ($file) {
216-
if (File::exists($this->path . $file)) {
217+
if (File::exists($this->path.$file)) {
217218
return;
218219
}
219220

0 commit comments

Comments
 (0)