Removed blank line, used empty() instead of the count() check
This commit is contained in:
parent
5fc6277d3f
commit
2e389e00d4
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue