Fixing incorrect exception method used
This commit is contained in:
parent
071adf68cd
commit
5442a32db8
@ -155,7 +155,7 @@ abstract class AbstractFileDriver implements Driver
|
|||||||
if ($this->_paths) {
|
if ($this->_paths) {
|
||||||
foreach ((array) $this->_paths as $path) {
|
foreach ((array) $this->_paths as $path) {
|
||||||
if ( ! is_dir($path)) {
|
if ( ! is_dir($path)) {
|
||||||
throw MappingException::driverRequiresConfiguredDirectoryPath();
|
throw MappingException::fileMappingDriversRequireConfiguredDirectoryPath();
|
||||||
}
|
}
|
||||||
|
|
||||||
$iterator = new \RecursiveIteratorIterator(
|
$iterator = new \RecursiveIteratorIterator(
|
||||||
|
Loading…
Reference in New Issue
Block a user