1
0
mirror of synced 2025-01-07 09:37:11 +03:00

Fixing incorrect exception method used

This commit is contained in:
Jonathan H. Wage 2010-04-13 14:09:39 -04:00
parent 071adf68cd
commit 5442a32db8

View File

@ -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(