From: gggeek Date: Thu, 12 Jan 2023 17:33:34 +0000 (+0000) Subject: more fluent apis X-Git-Tag: 4.10.0~166 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6a9a7d1794edf0afa2191e4ac96b100ad7b73b99;p=plcapi.git more fluent apis --- diff --git a/src/Server.php b/src/Server.php index b446eb4a..f4afcd86 100644 --- a/src/Server.php +++ b/src/Server.php @@ -216,11 +216,12 @@ class Server * particular, triggering an USER_ERROR level error will not halt script * execution anymore, but just end up logged in the xmlrpc response) * Note that info added at level 2 and 3 will be base64 encoded - * @return void + * @return $this */ public function setDebug($level) { $this->debug = $level; + return $this; } /**