DDC-510 - Simplified Condition to check if Paths are set in AnnotationDriver
This commit is contained in:
parent
4cf5b7afdc
commit
45cd2afd27
@ -428,7 +428,7 @@ class AnnotationDriver implements Driver
|
||||
return $this->_classNames;
|
||||
}
|
||||
|
||||
if (count($this->_paths) == 0) {
|
||||
if (!$this->_paths) {
|
||||
throw MappingException::pathRequired();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user