1
1
Fork 0

Make PHP-CS happy

This commit is contained in:
Philipp Holzer 2023-07-03 00:08:58 +02:00
parent 89a31e43b2
commit 82f3e4ad86
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
4 changed files with 4 additions and 6 deletions

View file

@ -21,8 +21,6 @@
namespace Friendica\Core\Hooks\Capabilities;
use Friendica\Core\Hooks\Exceptions\HookInstanceException;
/**
* creates special instance and decorator treatments for given classes
*/

View file

@ -35,7 +35,7 @@ use Friendica\Core\Hooks\Util\HookFileManager;
*/
class DiceInstanceManager implements ICanCreateInstances, ICanRegisterInstances
{
protected $instance = [];
protected $instance = [];
protected $decorator = [];
/** @var Dice */

View file

@ -29,7 +29,7 @@ interface LogChannel
/** @var string channel for the auth_ejabbered script */
public const AUTH_JABBERED = 'auth_ejabberd';
/** @var string Default channel in case it isn't set explicit */
public const DEFAULT = self::APP;
public const DEFAULT = self::APP;
/** @var string channel for console execution */
public const CONSOLE = 'console';
/** @var string channel for developer focused logging */

View file

@ -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'));