Skip to content

Commit e279c78

Browse files
authored
Apply fixes from StyleCI (#102)
1 parent c2d02f8 commit e279c78

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Models/UpdateExecutor.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private function moveFiles(string $folder): void
8686
collect($files)->each(function (SplFileInfo $file) {
8787
if ($file->getRealPath()) {
8888
File::copy(
89-
$file->getRealPath(), Str::finish($this->basePath, DIRECTORY_SEPARATOR) . $file->getFilename()
89+
$file->getRealPath(), Str::finish($this->basePath, DIRECTORY_SEPARATOR).$file->getFilename()
9090
);
9191
}
9292
});
@@ -101,11 +101,10 @@ private function moveFolders(string $folder): void
101101
}));
102102

103103
$sorted->each(function (SplFileInfo $directory) {
104-
105104
if (! dirsIntersect(File::directories($directory->getRealPath()), config('self-update.exclude_folders'))) {
106105
File::copyDirectory(
107106
$directory->getRealPath(),
108-
Str::finish($this->basePath, DIRECTORY_SEPARATOR) . Str::finish($directory->getRelativePath(), DIRECTORY_SEPARATOR) . $directory->getBasename()
107+
Str::finish($this->basePath, DIRECTORY_SEPARATOR).Str::finish($directory->getRelativePath(), DIRECTORY_SEPARATOR).$directory->getBasename()
109108
);
110109
}
111110

0 commit comments

Comments
 (0)