Skip to content
Snippets Groups Projects

Fix invalid declaration error

1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -10,8 +10,8 @@ trait ConfigEntityDescriptionTrait {
/**
* Implements EntityDescriptionInterface::getDescription().
*/
public function getDescription() {
return $this->getThirdPartySetting('lightning_core', 'description');
public function getDescription(): string {
return (string) $this->getThirdPartySetting('lightning_core', 'description');
}
/**
Loading