Merge pull request #6010 from phansys/entity_repo_count
Update exception message at `EntityRepository::__call()`
This commit is contained in:
commit
e7e142ea4a
@ -237,7 +237,7 @@ class EntityRepository implements ObjectRepository, Selectable
|
|||||||
|
|
||||||
throw new \BadMethodCallException(
|
throw new \BadMethodCallException(
|
||||||
"Undefined method '$method'. The method name must start with ".
|
"Undefined method '$method'. The method name must start with ".
|
||||||
"either findBy or findOneBy!"
|
"either findBy, findOneBy or countBy!"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user