we can (now) transform it into IS NULL
This commit is contained in:
parent
b560551b1d
commit
d314386060
@ -204,11 +204,6 @@ class EntityRepository implements ObjectRepository
|
||||
);
|
||||
}
|
||||
|
||||
if ( !isset($arguments[0])) {
|
||||
// we dont even want to allow null at this point, because we cannot (yet) transform it into IS NULL.
|
||||
throw ORMException::findByRequiresParameter($method.$by);
|
||||
}
|
||||
|
||||
$fieldName = lcfirst(\Doctrine\Common\Util\Inflector::classify($by));
|
||||
|
||||
if ($this->_class->hasField($fieldName) || $this->_class->hasAssociation($fieldName)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user