mirror of
https://github.com/friendica/friendica
synced 2025-04-22 13:50:12 +00:00
bugfixing adapter get() in case of no connection
This commit is contained in:
parent
ad1254c49c
commit
0a318925a4
6 changed files with 10 additions and 10 deletions
|
@ -68,7 +68,7 @@ class Logger extends BaseObject
|
|||
*
|
||||
* @param LoggerInterface $logger The Logger instance of this Application
|
||||
*/
|
||||
public static function init($logger)
|
||||
public static function init(LoggerInterface $logger)
|
||||
{
|
||||
self::$logger = $logger;
|
||||
}
|
||||
|
@ -78,7 +78,7 @@ class Logger extends BaseObject
|
|||
*
|
||||
* @param LoggerInterface $logger The Logger instance of this Application
|
||||
*/
|
||||
public static function setDevLogger($logger)
|
||||
public static function setDevLogger(LoggerInterface $logger)
|
||||
{
|
||||
self::$devLogger = $logger;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue