Commit 45cd2afd authored by Benjamin Eberlei's avatar Benjamin Eberlei

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

parent 4cf5b7af
......@@ -428,7 +428,7 @@ class AnnotationDriver implements Driver
return $this->_classNames;
}
if (count($this->_paths) == 0) {
if (!$this->_paths) {
throw MappingException::pathRequired();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment