Skip to content

Commit b78e91e

Browse files
committed
bugfix
1 parent 8b02aef commit b78e91e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SearchEndpoint/AbstractSearchEndpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ abstract class AbstractSearchEndpoint extends AbstractNormalizable implements Se
3232
*/
3333
private array $container = [];
3434

35-
public function add(BuilderInterface $builder, $key = null): string
35+
public function add(BuilderInterface $builder, ?string $key = null): string
3636
{
3737
if (array_key_exists($key, $this->container)) {
3838
throw new OverflowException(sprintf('Builder with %s name for endpoint has already been added!', $key));

0 commit comments

Comments
 (0)