From c811eb7e8ea44654d35153490e772836420442bd Mon Sep 17 00:00:00 2001 From: Tom Van Looy Date: Tue, 23 Aug 2016 21:36:25 +0200 Subject: [PATCH] remove duplicate instruction --- src/Symfony/Component/Finder/Tests/Iterator/MockSplFileInfo.php | 2 -- 1 file changed, 2 deletions(-) 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;