From e99863be7799e7c8dd91f1541cf846cc4ade7b41 Mon Sep 17 00:00:00 2001 From: Dan0sz <18595395+Dan0sz@users.noreply.github.com> Date: Wed, 24 Jan 2024 13:29:08 +0100 Subject: [PATCH] Removed: non-existent Notice class. --- src/Admin/Module.php | 1 - src/Client.php | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Admin/Module.php b/src/Admin/Module.php index d4a2e735..9a175159 100644 --- a/src/Admin/Module.php +++ b/src/Admin/Module.php @@ -9,7 +9,6 @@ namespace Plausible\Analytics\WP\Admin; use Exception; -use Plausible\Analytics\WP\Admin\Notice; use Plausible\Analytics\WP\Includes\Helpers; class Module { diff --git a/src/Client.php b/src/Client.php index 4453deb0..3347f385 100644 --- a/src/Client.php +++ b/src/Client.php @@ -3,7 +3,6 @@ namespace Plausible\Analytics\WP; use Exception; -use Plausible\Analytics\WP\Admin\Notice; use Plausible\Analytics\WP\Client\Lib\GuzzleHttp\Client as GuzzleClient; use Plausible\Analytics\WP\Client\Api\DefaultApi; use Plausible\Analytics\WP\Client\Configuration; @@ -67,7 +66,7 @@ public function create_shared_link() { * * @param GoalCreateRequestBulkGetOrCreate $goals * - * @return Client\Model\PaymentRequiredError|Client\Model\PlausibleWebPluginsAPIControllersGoalsCreate201Response|Client\Model\UnauthorizedError|Client\Model\UnprocessableEntityError|void + * @return Client\Model\PaymentRequiredError|Client\Model\PlausibleWebPluginsAPIControllersGoalsCreate201Response|Client\Model\UnauthorizedError|Client\Model\UnprocessableEntityError|null */ public function create_goals( $goals ) { try {