From 8e446717661a7ba62f83ba6391db3826fb8b0bb1 Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 21 Jan 2017 15:51:49 -0600 Subject: [PATCH] visibility fixes --- phpseclib/Common/Functions/Objects.php | 6 +++--- phpseclib/System/SSH/Agent.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phpseclib/Common/Functions/Objects.php b/phpseclib/Common/Functions/Objects.php index 4a386e4f..cb87b1a7 100644 --- a/phpseclib/Common/Functions/Objects.php +++ b/phpseclib/Common/Functions/Objects.php @@ -29,7 +29,7 @@ abstract class Objects * @param Object $obj * @param string $var * @return mixed - * @access private + * @access public */ public static function getVar($obj, $var) { @@ -46,7 +46,7 @@ abstract class Objects * @param string $var * @param mixed $val * @return mixed - * @access private + * @access public */ public static function setVar($obj, $var, $val) { @@ -63,7 +63,7 @@ abstract class Objects * @param string $func * @param array $params * @return mixed - * @access private + * @access public */ public static function callFunc($obj, $func, $params = array()) { diff --git a/phpseclib/System/SSH/Agent.php b/phpseclib/System/SSH/Agent.php index 489364d6..29182d10 100644 --- a/phpseclib/System/SSH/Agent.php +++ b/phpseclib/System/SSH/Agent.php @@ -279,7 +279,7 @@ class Agent * @param Net_SSH2 $ssh * @access private */ - public function on_channel_open($ssh) + private function on_channel_open($ssh) { if ($this->forward_status == self::FORWARD_REQUEST) { $this->request_forwarding($ssh);