Skip to content

Commit

Permalink
Merge pull request #3 from mlltddevelopment/main
Browse files Browse the repository at this point in the history
allow null return type
  • Loading branch information
billythekid committed Feb 13, 2024
2 parents 236651b + 3743ff0 commit 109288a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/Vehicle.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public function setEuroStatus(string $euroStatus): Vehicle
* @return bool|int|string
* @throws Exception
*/
public function __get(string $property): bool|int|string
public function __get(string $property): null|bool|int|string
{
return match ($property)
{
Expand Down

0 comments on commit 109288a

Please sign in to comment.