Skip to content

Commit 3b20d2b

Browse files
mcop1github-actions[bot]
authored andcommitted
Apply php-cs-fixer changes
1 parent 69d41cb commit 3b20d2b

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

src/Controller/Admin/Asset/AssetController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
use Pimcore\Bundle\AdminBundle\Service\GridData;
2424
use Pimcore\Config;
2525
use Pimcore\Controller\KernelControllerEventInterface;
26-
use Pimcore\Controller\Traits\ElementEditLockHelperTrait;
2726
use Pimcore\Db\Helper;
2827
use Pimcore\Event\AssetEvents;
2928
use Pimcore\Event\Model\Asset\ResolveUploadTargetEvent;

src/Controller/Admin/DataObject/DataObjectController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
use Pimcore\Bundle\AdminBundle\Helper\GridHelperService;
2222
use Pimcore\Bundle\AdminBundle\Security\CsrfProtectionHandler;
2323
use Pimcore\Controller\KernelControllerEventInterface;
24-
use Pimcore\Controller\Traits\ElementEditLockHelperTrait;
2524
use Pimcore\Db;
2625
use Pimcore\Localization\LocaleServiceInterface;
2726
use Pimcore\Logger;

src/Controller/Admin/ElementController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,11 @@ public function isLockedAction(Request $request): JsonResponse
4848
$request->query->get('type'),
4949
$request->getSession()->getId()
5050
);
51-
51+
5252
if ($isLocked) {
5353
return $this->getEditLockResponse($request->query->getInt('id'), $request->query->get('type'));
5454
}
5555

56-
5756
return $this->adminJson(['success' => true, 'editLock' => null]);
5857
}
5958

0 commit comments

Comments
 (0)