[TESTS][LOG] Raise test coverage for Log class to 100%

This commit is contained in:
Hugo Sales 2021-07-21 16:43:35 +00:00
parent f98ce1c3d0
commit 3b18853ff1
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
1 changed files with 4 additions and 0 deletions

View File

@ -49,6 +49,10 @@ abstract class Log
{ {
if (isset(self::$logger)) { if (isset(self::$logger)) {
return self::$logger->{$name}(...$args); return self::$logger->{$name}(...$args);
} else {
// @codeCoverageIgnoreStart
return null;
// @codeCoverageIgnoreEnd
} }
} }
} }