We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81f513b commit a00e3f9Copy full SHA for a00e3f9
lib/Binding/Module/ConfigBuilder.php
@@ -60,10 +60,10 @@ public function build(): object
60
public function add_module(
61
string $id,
62
string $class,
63
- string $parent = null,
+ ?string $parent = null,
64
array $require = [],
65
array $models = [],
66
- string $path = null,
+ ?string $path = null,
67
): self {
68
if (isset($this->descriptors[$id])) {
69
throw new LogicException("module '$id' already defined");
0 commit comments