Update exception message at EntityRepository::__call()
This commit is contained in:
parent
009e94720b
commit
5353137617
@ -237,7 +237,7 @@ class EntityRepository implements ObjectRepository, Selectable
|
||||
|
||||
throw new \BadMethodCallException(
|
||||
"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