Skip to content

Commit

Permalink
Update php/tests/vaas/VaasTest.php
Browse files Browse the repository at this point in the history
Co-authored-by: Max <Maximilian.Froehling@gdata.de>
  • Loading branch information
unglaublicherdude and GermanCoding authored Jul 4, 2024
1 parent 86f7c61 commit 48121e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/tests/vaas/VaasTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function setUp(): void

private function _getVaas(bool $useCache = false, bool $useHashLookup = true, LoggerInterface $logger = null): Vaas
{
return new Vaas($_ENV["VAAS_URL"], $logger != null ? $logger : $this->_getDebugLogger(), new VaasOptions($useCache, $useHashLookup));
return new Vaas($_ENV["VAAS_URL"], $logger ?? $this->_getDebugLogger(), new VaasOptions($useCache, $useHashLookup));
}

private function _getDebugLogger(): LoggerInterface
Expand Down

0 comments on commit 48121e0

Please sign in to comment.