Skip to content

Commit dd12d78

Browse files
committed
fix: patch up nullable param error
1 parent aad5d1a commit dd12d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Db.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ public function orWhereJsonContains(string $column, $value, ?string $jsonKey = n
422422
*
423423
* @return self
424424
*/
425-
public function with(string $table, string $foreignKey = null)
425+
public function with(string $table, ?string $foreignKey = null)
426426
{
427427
$foreignKey ??= Utils::basicSingularize($table) . '_id';
428428

0 commit comments

Comments
 (0)