1
0
mirror of synced 2024-12-13 22:56:04 +03:00

DDC-510 - Simplified Condition to check if Paths are set in AnnotationDriver

This commit is contained in:
Benjamin Eberlei 2010-04-11 10:52:53 +02:00
parent 4cf5b7afdc
commit 45cd2afd27

View File

@ -428,7 +428,7 @@ class AnnotationDriver implements Driver
return $this->_classNames;
}
if (count($this->_paths) == 0) {
if (!$this->_paths) {
throw MappingException::pathRequired();
}