diff --git a/composer.json b/composer.json index cb6b8d3..cf13c15 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ "php": "~8.3.0 || ~8.4.0 || ~8.5.0", "ext-dom": "*", "azjezz/psl": "^2.9.1 || ^3.0.0 || ^4.0.0", - "easycorp/easyadmin-bundle": "~4.27.5", + "easycorp/easyadmin-bundle": "~4.27.7", "symfony/asset": "^6.4 || ^7.4", "symfony/cache": "^6.4 || ^7.4", "symfony/config": "^6.4 || ^7.4", diff --git a/psalm.baseline.xml b/psalm.baseline.xml index 0433461..c340f37 100644 --- a/psalm.baseline.xml +++ b/psalm.baseline.xml @@ -4,19 +4,24 @@ + + + + + ]]> + - getEntity()]]> - getEntity()]]> - getEntity()]]> + + createDto()]]> container->get('doctrine')->getManagerForClass($context->getEntity()->getFqcn())]]> @@ -41,6 +46,8 @@ getRequest()->query->get('newValue')]]> + + diff --git a/src/Controller/BaseCrudController.php b/src/Controller/BaseCrudController.php index 20f8e26..3ebc279 100644 --- a/src/Controller/BaseCrudController.php +++ b/src/Controller/BaseCrudController.php @@ -115,6 +115,9 @@ protected function addConfirmationForAction( return $action; } + /** + * @return AdminContext + */ protected function currentAdminContext(): AdminContext { $currentAdminContext = $this->getContext();