Skip to content

Commit 424cb54

Browse files
committed
Fix recursive function call
1 parent 6b105ac commit 424cb54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/HasHash.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected static function getUniqueHash(Connection $connection, string $table, i
3434
}
3535

3636
if ($connection->table($table)->where('hash', $hash)->exists()) {
37-
return self::getUniqueHash($table, $length, $iterations + 1);
37+
return self::getUniqueHash($connection, $table, $length, $iterations + 1);
3838
}
3939

4040
return $hash;

0 commit comments

Comments
 (0)