Removed blank line, used empty() instead of the count() check
This commit is contained in:
parent
5fc6277d3f
commit
2e389e00d4
@ -203,9 +203,8 @@ class EntityRepository implements ObjectRepository
|
||||
"either findBy or findOneBy!"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
if (count($arguments) === 0) {
|
||||
if (empty($arguments)) {
|
||||
throw ORMException::findByRequiresParameter($method.$by);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user