From 8677e7a85d38963dcfd1ac4d00c34a7556923cd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=B6nikes=2C=20Lea-Marie?= <lea-marie.moenikes@it.nrw.de> Date: Tue, 7 Dec 2021 12:53:42 +0100 Subject: [PATCH] Fix #388. Update signature of getEntityClass(). --- .../Entity/Decorators/Config/ConfigEntityStorageDecorator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php b/webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php index d842b829..192fcc6a 100644 --- a/webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php +++ b/webprofiler/src/Entity/Decorators/Config/ConfigEntityStorageDecorator.php @@ -229,7 +229,7 @@ class ConfigEntityStorageDecorator extends EntityDecorator implements ConfigEnti /** * {@inheritdoc} */ - public function getEntityClass($bundle = NULL) { + public function getEntityClass(?string $bundle = NULL) : string { return $this->getOriginalObject()->getEntityClass($bundle); } -- GitLab