Skip to content

Commit

Permalink
Fixed Bug #65467
Browse files Browse the repository at this point in the history
Call to undefined method cli_arg_typ_string

Use cli_arg_typ_filecontent instead.
  • Loading branch information
m6w6 committed Mar 30, 2015
1 parent 8f7e378 commit 6de25c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ PHP NEWS
- Phar:
. Fixed bug #64343 (PharData::extractTo fails for tarball created by BSD tar).
(Mike)
. Fixed bug #65467 (Call to undefined method cli_arg_typ_string). (Mike)
. Fixed bug #67761 (Phar::mapPhar fails for Phars inside a path containing
".tar"). (Mike)

Expand Down
2 changes: 1 addition & 1 deletion ext/phar/phar/pharcommand.inc
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ class PharCommand extends CLICommand
*/
static function cli_arg_typ_privkey($arg, $cfg, $key)
{
$arg = self::cli_arg_typ_string($arg, $cfg, $key);
$arg = self::cli_arg_typ_filecont($arg, $cfg, $key);

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

0 comments on commit 6de25c1

Please sign in to comment.