Skip to content

Commit

Permalink
fix(exception): hint the return type for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethTrecy committed Aug 29, 2023
1 parent 2b17e9e commit 0915f19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Exceptions/SerializableException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

trait SerializableException
{
public function serialize() {
public function serialize(): array {
return [
"errors" => [
[
Expand Down

0 comments on commit 0915f19

Please sign in to comment.