remove duplicate instruction

This commit is contained in:
Tom Van Looy 2016-08-23 21:36:25 +02:00
parent d30c3184df
commit c811eb7e8e

View File

@ -95,12 +95,10 @@ class MockSplFileInfo extends \SplFileInfo
if (is_string($type)) { if (is_string($type)) {
switch ($type) { switch ($type) {
case 'directory': case 'directory':
$this->type = self::TYPE_DIRECTORY;
case 'd': case 'd':
$this->type = self::TYPE_DIRECTORY; $this->type = self::TYPE_DIRECTORY;
break; break;
case 'file': case 'file':
$this->type = self::TYPE_FILE;
case 'f': case 'f':
$this->type = self::TYPE_FILE; $this->type = self::TYPE_FILE;
break; break;