1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Merge pull request #6010 from phansys/entity_repo_count

Update exception message at `EntityRepository::__call()`
This commit is contained in:
Marco Pivetta 2016-09-08 19:21:06 +02:00 committed by GitHub
commit e7e142ea4a

View File

@ -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!"
);
}