From f462a30c4342852fc6ce06bf74a215fee01c62ea Mon Sep 17 00:00:00 2001 From: Soroush Date: Thu, 25 Jan 2018 01:26:00 +0330 Subject: [PATCH] Fixed a small typing error in documentation Closure mistakenly points to `\HieuLe\WordpressXmlrpcClient\Closure` instead of `\Closure` --- src/WordpressClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WordpressClient.php b/src/WordpressClient.php index fd6ac00..c7ace72 100644 --- a/src/WordpressClient.php +++ b/src/WordpressClient.php @@ -46,7 +46,7 @@ public function __construct($xmlrpcEndPoint = null, $username = null, $password /** * Add a callback for `error` event * - * @param Closure $callback + * @param \Closure $callback * * @since 2.4.0 */ @@ -58,7 +58,7 @@ function onError($callback) /** * Add a callback for `sending` event * - * @param Closure $callback + * @param \Closure $callback * * @since 2.4.0 */