mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
minor fix to thrown exception message
This commit is contained in:
parent
b7e4bc8e20
commit
0feb05b2a3
@ -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];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user