fix: fix minor issues detected by phpstan
GitOrigin-RevId: e6e0802ef8b942d2307249e2b6167e2b8f9047d1
diff --git a/src/doexport.php b/src/doexport.php
index 6326fc9..bb57acb 100644
--- a/src/doexport.php
+++ b/src/doexport.php
@@ -77,7 +77,7 @@
$actualTime = time();
- class PDF extends EXFPDF {
+ class PDF extends exFPDF {
function Footer() {
global $actualTime;
diff --git a/src/inc/recurringIncidents.php b/src/inc/recurringIncidents.php
index 258fba6..e0da5d6 100644
--- a/src/inc/recurringIncidents.php
+++ b/src/inc/recurringIncidents.php
@@ -67,7 +67,7 @@
return 0;
}*/ // NOTE: This was a first idea, to allow setting up recurring incidents like schedules, but we've changed how we'll handle them and so this is no longer useful.
- public static function add($worker, $type, $details, $ifirstday, $ilastday, $begins, $ends, $creator = "ME", $typeDays, $days, $alreadyTimestamp = false) {
+ public static function add($worker, $type, $details, $ifirstday, $ilastday, $begins, $ends, $creator, $typeDays, $days, $alreadyTimestamp = false) {
if ($alreadyTimestamp) {
$current = new DateTime();
$current->setTimestamp($ifirstday);