X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2FClient.php;h=46984785baa9c7523dfc6ebaf28806da53643617;hb=19d9e6a3f9c89251656c6fb1a1d7478af4656379;hp=ede6a6851ec877171a7078eb695488a6228e119d;hpb=c4596e5377f63464ebb1e60989f96ae82c81135a;p=plcapi.git diff --git a/src/Client.php b/src/Client.php index ede6a68..4698478 100644 --- a/src/Client.php +++ b/src/Client.php @@ -125,7 +125,7 @@ class Client public function __construct($path, $server = '', $port = '', $method = '') { // allow user to specify all params in $path - if ($server == '' and $port == '' and $method == '') { + if ($server == '' && $port == '' && $method == '') { $parts = parse_url($path); $server = $parts['host']; $path = isset($parts['path']) ? $parts['path'] : '';