Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertSt7 authored and github-actions[bot] committed Sep 6, 2024
1 parent 23664f8 commit fea8ca1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Controller/Admin/Asset/AssetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2161,8 +2161,7 @@ public function importZipFilesAction(Request $request, Filesystem $filesystem):

if ($parent->isAllowed('create')) {
if ($request->get('allowOverwrite') && $request->get('allowOverwrite') === 'true'
&& Asset\Service::pathExists($parent->getRealFullPath().'/'.$filename))
{
&& Asset\Service::pathExists($parent->getRealFullPath().'/'.$filename)) {
$asset = Asset::getByPath($parent->getRealFullPath().'/'.$filename);
$asset->setStream(fopen($tmpFile, 'rb', false, File::getContext()));
$asset->save();
Expand Down

0 comments on commit fea8ca1

Please sign in to comment.