Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
dash8x committed Mar 17, 2024
2 parents 657338e + c84753b commit d6d1326
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Enums/UserStatuses.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ public static function messages(): array
];
}

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

public static function getMessageFromKey(string $key): string
Expand Down

0 comments on commit d6d1326

Please sign in to comment.