fix many PHP 8.4 compatibility issues

This commit is contained in:
beu committed 2025-05-26 22:50:03 +02:00
1 parent 03a991cd50
commit 7a8d9f2b0b
59 files changed
+137 -98

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ class Clock extends ScriptFeature
* @param bool $showSeconds (optional) Show the seconds
* @param bool $showFullDate (optional) Show the date
*/
public function __construct(Label $label = null, $showSeconds = true, $showFullDate = false)
public function __construct(?Label $label = null, $showSeconds = true, $showFullDate = false)
{
if ($label) {
$this->setLabel($label);