mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 03:27:31 +00:00
visibility changes for phpseclib2_compat
This commit is contained in:
parent
be221d8b23
commit
a7b1d031bb
@ -78,7 +78,7 @@ abstract class PuTTY
|
||||
* @param string $password
|
||||
* @return array
|
||||
*/
|
||||
protected static function load($key, $password)
|
||||
public static function load($key, $password)
|
||||
{
|
||||
if (!is_string($key)) {
|
||||
throw new \UnexpectedValueException('Key should be a string - not a ' . gettype($key));
|
||||
|
@ -152,7 +152,7 @@ class Stream
|
||||
* @return string
|
||||
* @access private
|
||||
*/
|
||||
private function parse_path($path)
|
||||
protected function parse_path($path)
|
||||
{
|
||||
$orig = $path;
|
||||
extract(parse_url($path) + ['port' => 22]);
|
||||
|
Loading…
Reference in New Issue
Block a user