forked from GNUsocial/gnu-social
[TESTS][LOG] Raise test coverage for Log class to 100%
This commit is contained in:
parent
f98ce1c3d0
commit
3b18853ff1
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user