We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4958a09 commit 5460733Copy full SHA for 5460733
1 file changed
app/Services/FursuitCatchCode.php
@@ -11,7 +11,7 @@ public function __construct(protected string $model, protected string $column) {
11
public function generate(): string
12
{
13
do {
14
- $identifier = strtoupper(substr(str_shuffle(str_repeat('ABCDEFGHIJKLMNPQRSTUVWXYZ123456789', 5)), 0, config('fcea.fursuit_catch_code_length', 5)));
+ $identifier = strtoupper(substr(str_shuffle(str_repeat('ABCEFGHIJKLMNPRSTUVWXYZ1234567890', 5)), 0, config('fcea.fursuit_catch_code_length', 5)));
15
} while ($this->model::where($this->column, $identifier)->exists());
16
17
return $identifier;
0 commit comments