minor fix to thrown exception message

This commit is contained in:
Irfan 2022-06-22 23:22:15 +05:00 committed by pushrbx
parent b7e4bc8e20
commit 0feb05b2a3

View File

@ -27,7 +27,7 @@ class SearchQueryBuilderProvider
{ {
if (!array_key_exists($name, $this->searchQueryBuilders)) if (!array_key_exists($name, $this->searchQueryBuilders))
{ {
throw new \InvalidArgumentException("Invalid argument: name."); throw new \InvalidArgumentException("Invalid argument: $name.");
} }
return $this->searchQueryBuilders[$name]; return $this->searchQueryBuilders[$name];