diff --git a/libs/VyfakturujAPI.class.php b/libs/VyfakturujAPI.class.php index 3d16606..e7d7536 100644 --- a/libs/VyfakturujAPI.class.php +++ b/libs/VyfakturujAPI.class.php @@ -412,7 +412,7 @@ private function fetchRequest($path, $method, $data = array()) * @param array|null $data * @return array|mixed */ - private function fetchGet($path, $data = null) + protected function fetchGet($path, $data = null) { return $this->fetchRequest($path, self::HTTP_METHOD_GET, $data); } @@ -423,7 +423,7 @@ private function fetchGet($path, $data = null) * @param array|null $data * @return array|mixed */ - private function fetchPost($path, $data = null) + protected function fetchPost($path, $data = null) { return $this->fetchRequest($path, self::HTTP_METHOD_POST, $data); } @@ -434,7 +434,7 @@ private function fetchPost($path, $data = null) * @param array|null $data * @return array|mixed */ - private function fetchPut($path, $data = null) + protected function fetchPut($path, $data = null) { return $this->fetchRequest($path, self::HTTP_METHOD_PUT, $data); } @@ -445,7 +445,7 @@ private function fetchPut($path, $data = null) * @param array|null $data * @return array|mixed */ - private function fetchDelete($path, $data = null) + protected function fetchDelete($path, $data = null) { return $this->fetchRequest($path, self::HTTP_METHOD_DELETE, $data); }