Use native typing in more places and clean up 'FeedEnclosure' a bit.

This commit is contained in:
wn_
2024-12-10 20:31:16 +00:00
parent 333bab90a7
commit a1bd6cea1b
13 changed files with 71 additions and 115 deletions

View File

@@ -1,10 +1,8 @@
<?php
class Logger {
/** @var Logger|null */
private static $instance;
private static ?Logger $instance = null;
/** @var Logger_Adapter|null */
private $adapter;
private ?Logger_Adapter $adapter = null;
const LOG_DEST_SQL = "sql";
const LOG_DEST_STDOUT = "stdout";