Fabien Potencier 14 år sedan
förälder
incheckning
9afcaad04a

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Mapping/Driver/XmlDriver.php

@@ -40,7 +40,7 @@ class XmlDriver extends BaseXmlDriver
 
         if ($this->_paths) {
             foreach ((array) $this->_paths as $prefix => $path) {
-                if ( ! is_dir($path)) {
+                if (!is_dir($path)) {
                     throw MappingException::fileMappingDriversRequireConfiguredDirectoryPath($path);
                 }
 

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Mapping/Driver/YamlDriver.php

@@ -40,7 +40,7 @@ class YamlDriver extends BaseYamlDriver
 
         if ($this->_paths) {
             foreach ((array) $this->_paths as $prefix => $path) {
-                if ( ! is_dir($path)) {
+                if (!is_dir($path)) {
                     throw MappingException::fileMappingDriversRequireConfiguredDirectoryPath($path);
                 }