We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a17561 commit b502b8eCopy full SHA for b502b8e
lib/private/Log.php
@@ -67,15 +67,11 @@ class Log implements ILogger, IDataLogger {
67
68
public function __construct(
69
private IWriter $logger,
70
- private ?SystemConfig $config = null,
+ private SystemConfig $config,
71
private ?Normalizer $normalizer = null,
72
private ?IRegistry $crashReporters = null
73
) {
74
- // FIXME: Add this for backwards compatibility, should be fixed at some point probably
75
- if ($config === null) {
76
- $this->config = \OCP\Server::get(SystemConfig::class);
77
- }
78
-
+ // FIXME: php8.1 allows "private Normalizer $normalizer = new Normalizer()," in initializer
79
if ($normalizer === null) {
80
$this->normalizer = new Normalizer();
81
}
0 commit comments