Skip to content

Commit

Permalink
feat: add errors method
Browse files Browse the repository at this point in the history
  • Loading branch information
mychidarko committed Oct 3, 2022
1 parent 519fc14 commit 83b2ae9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Anchor.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,9 @@ public static function generateToken(int $strength = 16): string
{
return bin2hex(static::$config['SECRET'] . '.' . random_bytes($strength));
}

public static function errors(): array
{
return static::$errors;
}
}

0 comments on commit 83b2ae9

Please sign in to comment.