Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
markus-moser authored and kingjia90 committed Feb 8, 2024
1 parent 33473ab commit 45ef1ff
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/EventSubscriber/CustomLayoutSubscriber.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
<?php
declare(strict_types=1);

/**
* Pimcore
*
* This source file is available under two different licenses:
* - GNU General Public License version 3 (GPLv3)
* - Pimcore Commercial License (PCL)
* Full copyright and license information is available in
* LICENSE.md which is distributed with this source code.
*
* @copyright Copyright (c) Pimcore GmbH (http://www.pimcore.org)
* @license http://www.pimcore.org/license GPLv3 and PCL
*/

namespace FrontendPermissionToolkitBundle\EventSubscriber;

use FrontendPermissionToolkitBundle\CoreExtensions\ClassDefinitions\DynamicPermissionResource;
Expand Down Expand Up @@ -28,9 +41,9 @@ public function onUpdate(CustomLayoutEvent $event): void
$this->resetPermissionResources($customLayout->getLayoutDefinitions());
}

private function resetPermissionResources(ClassDefinition\Data|ClassDefinition\Layout|null $layout): void
private function resetPermissionResources(ClassDefinition\Data | ClassDefinition\Layout | null $layout): void
{
if($layout === null) {
if ($layout === null) {
return;
}

Expand Down

0 comments on commit 45ef1ff

Please sign in to comment.