remove duplicate instruction
This commit is contained in:
parent
d30c3184df
commit
c811eb7e8e
@ -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;
|
||||||
|
Reference in New Issue
Block a user