@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace CCT\Kong\Helper; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace CCT\Kong\Exception; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace CCT\Kong\Exception; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace CCT\Kong\Http\Definition; |
| 6 | 6 | |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace CCT\Kong\Http\Request; |
| 6 | 6 | |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | throw new InvalidParameterException('The API ID is required to create a new Plugin.'); |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | - $this->config->set('serialization_context', SerializationContext::create()->setGroups([ 'update', 'create' ])); |
|
| 99 | + $this->config->set('serialization_context', SerializationContext::create()->setGroups(['update', 'create'])); |
|
| 100 | 100 | $this->changeFormNormalizer(); |
| 101 | 101 | |
| 102 | 102 | $apiId = $plugin->getApiId() ?: $apiId; |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace CCT\Kong\Http\Request; |
| 6 | 6 | |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | |
| 39 | 39 | public function updateOrCreate(Api $api) |
| 40 | 40 | { |
| 41 | - $this->config->set('serialization_context', SerializationContext::create()->setGroups([ 'update', 'create' ])); |
|
| 41 | + $this->config->set('serialization_context', SerializationContext::create()->setGroups(['update', 'create'])); |
|
| 42 | 42 | |
| 43 | 43 | return parent::requestPut($this->appendToUri($api->getId()), $api, null); |
| 44 | 44 | } |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace CCT\Kong\Http; |
| 6 | 6 | |
@@ -273,7 +273,7 @@ discard block |
||
| 273 | 273 | { |
| 274 | 274 | if (false !== strpos($uri, '?')) { |
| 275 | 275 | throw new InvalidParameterException(sprintf( |
| 276 | - 'It was not possible to normalize the URI as the current URI %s already has the interrogation char in its string.'. |
|
| 276 | + 'It was not possible to normalize the URI as the current URI %s already has the interrogation char in its string.' . |
|
| 277 | 277 | $uri |
| 278 | 278 | )); |
| 279 | 279 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace CCT\Kong\Http; |
| 6 | 6 | |