1
0
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:
Aaron Piotrowski 2017-10-29 22:58:08 -05:00
parent 271ad2bf4a
commit 2f42596ac7
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB

View File

@ -52,7 +52,7 @@ class FileTask implements Task {
if ('f' === $this->operation[0]) { if ('f' === $this->operation[0]) {
if ("fopen" === $this->operation) { if ("fopen" === $this->operation) {
$path = $this->args[0]; $path = $this->args[0];
$mode = \str_replace(['b', 't'], '', $this->args[1]); $mode = \str_replace(['b', 't', 'e'], '', $this->args[1]);
switch ($mode) { switch ($mode) {
case "r": case "r":