Skip to content

Commit

Permalink
Add tokenCacheDir to the firebase options
Browse files Browse the repository at this point in the history
  • Loading branch information
parijke committed Jun 13, 2024
1 parent f7e787c commit b4c5f74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Tiqr/TiqrConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ public function __construct(array $tiqrConfiguration)
$this->options['firebase.credentialsFile'] = $tiqrConfiguration['library']['firebase']['credentialsFile'];
Assertion::boolean($tiqrConfiguration['library']['firebase']['cacheTokens']);
$this->options['firebase.cacheTokens'] = $tiqrConfiguration['library']['firebase']['cacheTokens'];
Assertion::string($tiqrConfiguration['library']['firebase']['tokenCacheDir']);

Check failure on line 77 in src/Tiqr/TiqrConfiguration.php

View workflow job for this annotation

GitHub Actions / run-qa-tests

Cannot access offset 'tokenCacheDir' on mixed.
$this->options['firebase.tokenCacheDir'] = $tiqrConfiguration['library']['firebase']['tokenCacheDir'];
}

if (isset($tiqrConfiguration['accountblocking'][self::MAX_ATTEMPTS])) {
Expand Down

0 comments on commit b4c5f74

Please sign in to comment.