mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:10:11 +00:00
Make PHP-CS happy
This commit is contained in:
parent
89a31e43b2
commit
82f3e4ad86
4 changed files with 4 additions and 6 deletions
|
@ -37,7 +37,7 @@ class SyslogLogger extends AbstractLoggerTypeFactory
|
|||
/**
|
||||
* Creates a new PSR-3 compliant syslog logger instance
|
||||
*
|
||||
* @param IManageConfigValues $config The system configuration
|
||||
* @param IManageConfigValues $config The system configuration
|
||||
*
|
||||
* @return LoggerInterface The PSR-3 compliant logger instance
|
||||
*
|
||||
|
@ -45,7 +45,7 @@ class SyslogLogger extends AbstractLoggerTypeFactory
|
|||
*/
|
||||
public function create(IManageConfigValues $config): LoggerInterface
|
||||
{
|
||||
$logOpts = $config->get('system', 'syslog_flags') ?? SyslogLoggerClass::DEFAULT_FLAGS;
|
||||
$logOpts = $config->get('system', 'syslog_flags') ?? SyslogLoggerClass::DEFAULT_FLAGS;
|
||||
$logFacility = $config->get('system', 'syslog_facility') ?? SyslogLoggerClass::DEFAULT_FACILITY;
|
||||
$loglevel = SyslogLogger::mapLegacyConfigDebugLevel($config->get('system', 'loglevel'));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue