Skip to content

Commit 6de25c1

Browse files
committed
Fixed Bug #65467
Call to undefined method cli_arg_typ_string Use cli_arg_typ_filecontent instead.
1 parent 8f7e378 commit 6de25c1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ PHP NEWS
4242
- Phar:
4343
. Fixed bug #64343 (PharData::extractTo fails for tarball created by BSD tar).
4444
(Mike)
45+
. Fixed bug #65467 (Call to undefined method cli_arg_typ_string). (Mike)
4546
. Fixed bug #67761 (Phar::mapPhar fails for Phars inside a path containing
4647
".tar"). (Mike)
4748

ext/phar/phar/pharcommand.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ class PharCommand extends CLICommand
397397
*/
398398
static function cli_arg_typ_privkey($arg, $cfg, $key)
399399
{
400-
$arg = self::cli_arg_typ_string($arg, $cfg, $key);
400+
$arg = self::cli_arg_typ_filecont($arg, $cfg, $key);
401401

402402
$hash_avail = Phar::getSupportedSignatures();
403403
if ($arg && !in_array('OpenSSL', $hash_avail))

0 commit comments

Comments
 (0)