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 c8529b9 commit 427352dCopy full SHA for 427352d
1 file changed
app/Services/HashidService.php
@@ -63,7 +63,7 @@ public static function decode(string $encoded): string
63
{
64
self::init();
65
66
- if (empty($encoded)) {
+ if ($encoded === '') {
67
throw new InvalidArgumentException('Encoded string cannot be empty');
68
}
69
0 commit comments