Skip to content

Commit

Permalink
Add array<mixed> as return type for getJsonBody
Browse files Browse the repository at this point in the history
This makes it easier for PHPStan et all to understand that the array will be mixed.
  • Loading branch information
ruudk authored Dec 27, 2019
1 parent d7d1165 commit ccfe9e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Exception/ApiErrorException.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function setHttpStatus($httpStatus)
/**
* Gets the JSON deserialized body.
*
* @return array|null
* @return array<mixed>|null
*/
public function getJsonBody()
{
Expand Down

0 comments on commit ccfe9e6

Please sign in to comment.