Skip to content

Commit

Permalink
Temporarily fix deprecation: Return type of SmartEmailing\v3\Models\A…
Browse files Browse the repository at this point in the history
…bstractHolder::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed
  • Loading branch information
stanislav-janu committed Oct 27, 2023
1 parent e866d65 commit c93483b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Models/AbstractHolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public function toArray(): array
/**
* @return TEntry[]
*/
#[\ReturnTypeWillChange]
public function jsonSerialize(): array
{
return $this->toArray();
Expand Down

0 comments on commit c93483b

Please sign in to comment.