mirror of
https://github.com/danog/file.git
synced 2024-11-26 11:54:54 +01:00
Remove potential duplicate "e" flag
This commit is contained in:
parent
271ad2bf4a
commit
2f42596ac7
@ -52,7 +52,7 @@ class FileTask implements Task {
|
||||
if ('f' === $this->operation[0]) {
|
||||
if ("fopen" === $this->operation) {
|
||||
$path = $this->args[0];
|
||||
$mode = \str_replace(['b', 't'], '', $this->args[1]);
|
||||
$mode = \str_replace(['b', 't', 'e'], '', $this->args[1]);
|
||||
|
||||
switch ($mode) {
|
||||
case "r":
|
||||
|
Loading…
Reference in New Issue
Block a user