Skip to content
Snippets Groups Projects
Commit 8677e7a8 authored by lmoeni's avatar lmoeni
Browse files

Fix #388. Update signature of getEntityClass().

parent 0a67ab4f
Branches
Tags
No related merge requests found
...@@ -229,7 +229,7 @@ class ConfigEntityStorageDecorator extends EntityDecorator implements ConfigEnti ...@@ -229,7 +229,7 @@ class ConfigEntityStorageDecorator extends EntityDecorator implements ConfigEnti
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getEntityClass($bundle = NULL) { public function getEntityClass(?string $bundle = NULL) : string {
return $this->getOriginalObject()->getEntityClass($bundle); return $this->getOriginalObject()->getEntityClass($bundle);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment