File tree 2 files changed +5
-3
lines changed 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,9 @@ public function getApiUrl()
152
152
* Attempts to login using this credentials, if succeeded will return the
153
153
* AuthToken used in all requests.
154
154
*
155
- * @return \ProxmoxVE\AuthToken|bool If login fails will return false
156
- * otherwise will return the AuthToken.
155
+ * @return \ZzAntares\ProxmoxVE\AuthToken|bool If login fails will return
156
+ * false otherwise will return
157
+ * the AuthToken.
157
158
*/
158
159
public function login ()
159
160
{
Original file line number Diff line number Diff line change @@ -151,12 +151,13 @@ public static function request(
151
151
* the login data.
152
152
*
153
153
* @throws \RuntimeException
154
+ * @throws \InvalidArgumentException If bar args supplied.
154
155
*/
155
156
public function __construct ($ credentials )
156
157
{
157
158
// Check if CURL is enabled
158
159
if (!function_exists ('curl_version ' )) {
159
- throw new RuntimeException ('PHP5-CURL needs to be enabled! ' );
160
+ throw new \ RuntimeException ('PHP5-CURL needs to be enabled! ' );
160
161
}
161
162
162
163
if ($ credentials instanceof Credentials) {
You can’t perform that action at this time.
0 commit comments