1
0
Fork 0
mirror of synced 2025-04-01 12:26:11 +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);
}