Skip to content

Commit

Permalink
Merge pull request #252 from itsAnuga/PHP8.1Compatible
Browse files Browse the repository at this point in the history
ReturnTypeWillChange
  • Loading branch information
l0gicgate committed Jan 14, 2022
2 parents 7f64c60 + 0380fe3 commit 4c9abf2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Application/Actions/ActionError.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public function setDescription(?string $description = null): self
/**
* @return array
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
$payload = [
Expand Down
1 change: 1 addition & 0 deletions src/Application/Actions/ActionPayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public function getError(): ?ActionError
/**
* @return array
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
$payload = [
Expand Down
1 change: 1 addition & 0 deletions src/Domain/User/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public function getLastName(): string
/**
* @return array
*/
#[\ReturnTypeWillChange]
public function jsonSerialize()
{
return [
Expand Down

0 comments on commit 4c9abf2

Please sign in to comment.