diff --git a/src/Endpoints/UARules.php b/src/Endpoints/UARules.php index 0da89a9..6eb0efb 100644 --- a/src/Endpoints/UARules.php +++ b/src/Endpoints/UARules.php @@ -8,6 +8,7 @@ namespace Cloudflare\API\Endpoints; +use Cloudflare\API\Configurations\Configurations; use Cloudflare\API\Adapter\Adapter; class UARules implements API @@ -42,7 +43,7 @@ class UARules implements API public function createRule( string $zoneID, string $mode, - \Cloudflare\API\Configurations\Configurations $configuration, + Configurations $configuration, string $ruleID = null, string $description = null ): bool { diff --git a/src/Endpoints/WAF.php b/src/Endpoints/WAF.php index 5cd6bef..805c8ab 100644 --- a/src/Endpoints/WAF.php +++ b/src/Endpoints/WAF.php @@ -10,7 +10,7 @@ namespace Cloudflare\API\Endpoints; use Cloudflare\API\Adapter\Adapter; -class WAF implements \Cloudflare\API\Endpoints\API +class WAF implements API { private $adapter;