Skip to content

Commit f0d02c2

Browse files
committed
remove duplicate instruction
1 parent 4561fbf commit f0d02c2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Tests/Iterator/MockSplFileInfo.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,10 @@ public function setType($type)
9595
if (is_string($type)) {
9696
switch ($type) {
9797
case 'directory':
98-
$this->type = self::TYPE_DIRECTORY;
9998
case 'd':
10099
$this->type = self::TYPE_DIRECTORY;
101100
break;
102101
case 'file':
103-
$this->type = self::TYPE_FILE;
104102
case 'f':
105103
$this->type = self::TYPE_FILE;
106104
break;

0 commit comments

Comments
 (0)