Skip to content

Commit b79e8cd

Browse files
committed
ensitech-273 fix deprecated
1 parent 42db3e4 commit b79e8cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Specification/CompositeSpecification.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function __call(string $name, array $arguments)
3434
return $result === $this->rootSpecification ? $this : $result;
3535
}
3636

37-
public function nested(string $field, Specification|Closure $factory = null): static
37+
public function nested(string $field, null|Specification|Closure $factory = null): static
3838
{
3939
$spec = $factory instanceof Specification
4040
? $factory

0 commit comments

Comments
 (0)