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 42db3e4 commit b79e8cdCopy full SHA for b79e8cd
src/Specification/CompositeSpecification.php
@@ -34,7 +34,7 @@ public function __call(string $name, array $arguments)
34
return $result === $this->rootSpecification ? $this : $result;
35
}
36
37
- public function nested(string $field, Specification|Closure $factory = null): static
+ public function nested(string $field, null|Specification|Closure $factory = null): static
38
{
39
$spec = $factory instanceof Specification
40
? $factory
0 commit comments