From 6de25c155e3a90c273af311d71298ec88ac61833 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Mon, 30 Mar 2015 15:39:30 +0200 Subject: [PATCH] Fixed Bug #65467 Call to undefined method cli_arg_typ_string Use cli_arg_typ_filecontent instead. --- NEWS | 1 + ext/phar/phar/pharcommand.inc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f073c9cf04..5994c4501c 100644 --- a/NEWS +++ b/NEWS @@ -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) diff --git a/ext/phar/phar/pharcommand.inc b/ext/phar/phar/pharcommand.inc index cb343675b5..a58a9f060a 100644 --- a/ext/phar/phar/pharcommand.inc +++ b/ext/phar/phar/pharcommand.inc @@ -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)) -- 2.40.0