diff --git a/src/EventSubscriber/CustomLayoutSubscriber.php b/src/EventSubscriber/CustomLayoutSubscriber.php index 2323b21..1072aa6 100644 --- a/src/EventSubscriber/CustomLayoutSubscriber.php +++ b/src/EventSubscriber/CustomLayoutSubscriber.php @@ -1,6 +1,19 @@ 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; }