From c8114fc161bf327bb2e08f39df2ab2419d751943 Mon Sep 17 00:00:00 2001 From: Julian Matz Date: Sat, 14 May 2016 06:56:04 +0100 Subject: [PATCH] Update xmlapi.php Fixed typos in set_auth_type( $auth_type ) function. --- xmlapi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmlapi.php b/xmlapi.php index 51b65dc..e1c94e9 100644 --- a/xmlapi.php +++ b/xmlapi.php @@ -450,7 +450,7 @@ public function get_auth_type() public function set_auth_type( $auth_type ) { if ($auth_type != 'hash' && $auth_type != 'pass') { - throw new Exception('the only two allowable auth types arehash and path'); + throw new Exception('The only two allowable auth types are hash and pass'); } $this->auth_type = $auth_type; }