Add type hints
[MAILPOET-1798]
This commit is contained in:
committed by
Jack Kitterhing
parent
55da20c8ce
commit
4da5b2e5c4
@ -102,7 +102,7 @@ class FormEntity {
|
||||
$this->styles = $styles;
|
||||
}
|
||||
|
||||
public function toArray() {
|
||||
public function toArray(): array {
|
||||
return [
|
||||
'id' => $this->getId(),
|
||||
'name' => $this->getName(),
|
||||
|
Reference in New Issue
Block a user