From 143321073badb7673e496807fd4723706c05dc3b Mon Sep 17 00:00:00 2001 From: jopacicdev Date: Mon, 22 Jan 2018 10:35:56 +0100 Subject: [PATCH] Add public to connect() method Add public scope to connect() method, to be consistent with the rest of the class --- src/Asakusuma/SugarWrapper/Rest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Asakusuma/SugarWrapper/Rest.php b/src/Asakusuma/SugarWrapper/Rest.php index 70a199d..c26fb77 100644 --- a/src/Asakusuma/SugarWrapper/Rest.php +++ b/src/Asakusuma/SugarWrapper/Rest.php @@ -127,7 +127,7 @@ public function loggedInUserInfo() * @param string $md5_password * @return boolean */ - function connect($rest_url = null, $username = null, $password = null, $md5_password = true) + public function connect($rest_url = null, $username = null, $password = null, $md5_password = true) { if (!is_null($rest_url)) { $this->rest_url = $rest_url;