Skip to content

Commit 042fd58

Browse files
committed
Allow null values
1 parent de4be97 commit 042fd58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Scout/Scout.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public function __construct(
1616
) {}
1717

1818
public static function create(
19-
string $path,
20-
string $namespace = 'App\\',
19+
?string $path = null,
20+
?string $namespace = 'App\\',
2121
?string $prefix = null,
2222
): static {
2323
return new static(

0 commit comments

Comments
 (0)