1
0
mirror of synced 2025-02-21 14:43: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

@ -204,8 +204,7 @@ class EntityRepository implements ObjectRepository
);
}
if (count($arguments) === 0) {
if (empty($arguments)) {
throw ORMException::findByRequiresParameter($method.$by);
}