Skip to content

Commit b8bf8a4

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Silence undefined index warning when openssl not available.
2 parents 6ff5316 + 15d7cd9 commit b8bf8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/phar/phar/pharcommand.inc

+1-1
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ class PharCommand extends CLICommand
563563
$hashbang = $this->args['b']['val'];
564564
$archive = $this->args['f']['val'];
565565
$hash = $this->args['h']['val'];
566-
$privkey = $this->args['y']['val'];
566+
$privkey = $this->args['y']['val'] ?? null;
567567
$regex = $this->args['i']['val'];
568568
$level = $this->args['l']['val'];
569569
$loader = $this->args['p']['val'];

0 commit comments

Comments
 (0)