Add type hints

[MAILPOET-1798]
This commit is contained in:
Pavel Dohnal
2020-02-06 13:51:19 +01:00
committed by Jack Kitterhing
parent 55da20c8ce
commit 4da5b2e5c4
2 changed files with 5 additions and 2 deletions

View File

@ -102,7 +102,7 @@ class FormEntity {
$this->styles = $styles;
}
public function toArray() {
public function toArray(): array {
return [
'id' => $this->getId(),
'name' => $this->getName(),