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 8b02aef commit b78e91eCopy full SHA for b78e91e
src/SearchEndpoint/AbstractSearchEndpoint.php
@@ -32,7 +32,7 @@ abstract class AbstractSearchEndpoint extends AbstractNormalizable implements Se
32
*/
33
private array $container = [];
34
35
- public function add(BuilderInterface $builder, $key = null): string
+ public function add(BuilderInterface $builder, ?string $key = null): string
36
{
37
if (array_key_exists($key, $this->container)) {
38
throw new OverflowException(sprintf('Builder with %s name for endpoint has already been added!', $key));
0 commit comments