We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7410a89 commit f271715Copy full SHA for f271715
.github/workflows/phpunit.yml
@@ -20,6 +20,7 @@ jobs:
20
with:
21
php-version: 8.3
22
tools: composer
23
+ ini-values: variables_order=EGPCS
24
25
# Install dependencies
26
- name: Install dependencies
src/Client.php
@@ -48,7 +48,7 @@ public function __construct(
48
?string $apiKey = null,
49
?ClientInterface $client = null,
50
) {
51
- $apiKey = $apiKey ?? getenv('DOCUMENT_CLOUD_API_KEY') ?? null;
+ $apiKey = $apiKey ?? $_ENV['DOCUMENT_CLOUD_API_KEY'] ?? null;
52
if (!$apiKey) {
53
throw new MissingApiKeyException();
54
}
0 commit comments