@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * @param array<mixed> $config |
| 19 | 19 | */ |
| 20 | - public function __construct(array $config = []) |
|
| 20 | + public function __construct(array $config = [ ]) |
|
| 21 | 21 | { |
| 22 | 22 | $this->config = $config; |
| 23 | 23 | } |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | */ |
| 57 | 57 | public function __construct(HttpInterface $service, array $config) |
| 58 | 58 | { |
| 59 | - if (!isset($config['apiKey'])) { |
|
| 59 | + if (!isset($config[ 'apiKey' ])) { |
|
| 60 | 60 | throw new MissingConfigException('Airtable API Key is missing from the Config'); |
| 61 | 61 | } |
| 62 | 62 | |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | $this->service = $service; |
| 70 | - $this->service->addHeaders(['Authorization' => 'Bearer ' . $this->apiKey]); |
|
| 70 | + $this->service->addHeaders([ 'Authorization' => 'Bearer ' . $this->apiKey ]); |
|
| 71 | 71 | } |
| 72 | 72 | |
| 73 | 73 | /** |