more fluent apis
authorgggeek <giunta.gaetano@gmail.com>
Thu, 12 Jan 2023 17:33:34 +0000 (17:33 +0000)
committergggeek <giunta.gaetano@gmail.com>
Thu, 12 Jan 2023 17:33:34 +0000 (17:33 +0000)
src/Server.php

index b446eb4..f4afcd8 100644 (file)
@@ -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;
     }
 
     /**