Shorten the fully qualified class names
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
namespace Cloudflare\API\Endpoints;
|
namespace Cloudflare\API\Endpoints;
|
||||||
|
|
||||||
|
use Cloudflare\API\Configurations\Configurations;
|
||||||
use Cloudflare\API\Adapter\Adapter;
|
use Cloudflare\API\Adapter\Adapter;
|
||||||
|
|
||||||
class UARules implements API
|
class UARules implements API
|
||||||
@@ -42,7 +43,7 @@ class UARules implements API
|
|||||||
public function createRule(
|
public function createRule(
|
||||||
string $zoneID,
|
string $zoneID,
|
||||||
string $mode,
|
string $mode,
|
||||||
\Cloudflare\API\Configurations\Configurations $configuration,
|
Configurations $configuration,
|
||||||
string $ruleID = null,
|
string $ruleID = null,
|
||||||
string $description = null
|
string $description = null
|
||||||
): bool {
|
): bool {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ namespace Cloudflare\API\Endpoints;
|
|||||||
|
|
||||||
use Cloudflare\API\Adapter\Adapter;
|
use Cloudflare\API\Adapter\Adapter;
|
||||||
|
|
||||||
class WAF implements \Cloudflare\API\Endpoints\API
|
class WAF implements API
|
||||||
{
|
{
|
||||||
private $adapter;
|
private $adapter;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user