mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 08:37:30 +02:00
refactor (#4244)
This commit is contained in:
@@ -25,7 +25,10 @@ class FeedItem
|
||||
|
||||
private function __construct()
|
||||
{
|
||||
$this->logger = RssBridge::getLogger();
|
||||
global $container;
|
||||
|
||||
// The default NullLogger is for when running the unit tests
|
||||
$this->logger = $container['logger'] ?? new NullLogger();
|
||||
}
|
||||
|
||||
public function __set($name, $value)
|
||||
|
Reference in New Issue
Block a user