1
0
mirror of synced 2025-02-20 22:23:14 +03:00

Removed blank line, used empty() instead of the count() check

This commit is contained in:
Nadav 2011-08-26 08:15:28 +03:00
parent 5fc6277d3f
commit 2e389e00d4

View File

@ -203,9 +203,8 @@ class EntityRepository implements ObjectRepository
"either findBy or findOneBy!"
);
}
if (count($arguments) === 0) {
if (empty($arguments)) {
throw ORMException::findByRequiresParameter($method.$by);
}