From 74f52a055e919f521bf6fbc6ee333fff639ae049 Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Thu, 12 Jan 2012 19:28:29 +0100 Subject: [PATCH] [Mapping] removed unused local variable $fileName in StaticPHPDriver class. --- lib/Doctrine/ORM/Mapping/Driver/StaticPHPDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Mapping/Driver/StaticPHPDriver.php b/lib/Doctrine/ORM/Mapping/Driver/StaticPHPDriver.php index 4e593ea8c..283ec7c5b 100644 --- a/lib/Doctrine/ORM/Mapping/Driver/StaticPHPDriver.php +++ b/lib/Doctrine/ORM/Mapping/Driver/StaticPHPDriver.php @@ -103,7 +103,7 @@ class StaticPHPDriver implements Driver ); foreach ($iterator as $file) { - if (($fileName = $file->getBasename($this->_fileExtension)) == $file->getBasename()) { + if ($file->getBasename($this->_fileExtension) == $file->getBasename()) { continue; }