Shorten the fully qualified class names

This commit is contained in:
Kleis Auke Wolthuizen
2017-11-21 17:27:47 +01:00
parent 0920fc48b2
commit 7c9ea4874d
2 changed files with 3 additions and 2 deletions

View File

@@ -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 {

View File

@@ -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;