diff --git a/src/Symfony/Component/Finder/Tests/Iterator/MockSplFileInfo.php b/src/Symfony/Component/Finder/Tests/Iterator/MockSplFileInfo.php index ec3f643e43..d03a9ac78e 100644 --- a/src/Symfony/Component/Finder/Tests/Iterator/MockSplFileInfo.php +++ b/src/Symfony/Component/Finder/Tests/Iterator/MockSplFileInfo.php @@ -95,12 +95,10 @@ class MockSplFileInfo extends \SplFileInfo if (is_string($type)) { switch ($type) { case 'directory': - $this->type = self::TYPE_DIRECTORY; case 'd': $this->type = self::TYPE_DIRECTORY; break; case 'file': - $this->type = self::TYPE_FILE; case 'f': $this->type = self::TYPE_FILE; break;