Skip to content

Commit

Permalink
Update UserStatuses.php
Browse files Browse the repository at this point in the history
Fixed calling non-static method statically
  • Loading branch information
muhammedjailam committed Mar 16, 2024
1 parent 11e64ee commit 0d058a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Enums/UserStatuses.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static function messages(): array
];
}

public function getMessage(): string
public static function getMessage(): string
{
return self::messages()[$this->value];
}
Expand Down

0 comments on commit 0d058a0

Please sign in to comment.