Skip to content

Commit

Permalink
Fix typehint of Dynamic::getAttachment() (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-rath authored Nov 30, 2021
1 parent 80f7922 commit 31b54d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Entity/Dynamic.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@ public function getDate(): ?string
}

/**
* @return string
* @return int[]|null
*/
public function getAttachment(): ?string
public function getAttachment(): ?array
{
return $this->getField('attachment');
}
Expand Down

0 comments on commit 31b54d4

Please sign in to comment.