Skip to content

Commit b2d7528

Browse files
committed
Don't try to open null file
If the loader is not found, directly return null, instead of trying to open it.
1 parent 5b078e7 commit b2d7528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/phar/phar/pharcommand.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ class PharCommand extends CLICommand
259259
self::error($msg);
260260
}
261261
}
262-
$arg = $found;
262+
return null;
263263
}
264264
return self::cli_arg_typ_file($arg);
265265
}

0 commit comments

Comments
 (0)