summaryrefslogtreecommitdiff
path: root/src/Entity/ScoTracking.php
diff options
context:
space:
mode:
authorim <ilia@mikhailov.se>2025-09-10 21:00:46 +0200
committerim <ilia@mikhailov.se>2025-09-10 21:00:46 +0200
commite794451e6b7eb6e21b9ec5209de7b5e72aeaffee (patch)
treec95e9692043ec8cdec6c1709eb95aa52c7d194e0 /src/Entity/ScoTracking.php
parent9a1dbff5c7c722fea75c9afd6c024100006bba93 (diff)
Upgrade to Carbon v3 and PHP 8.1+v5.0.0
- Update nesbot/carbon from ^2.42 to ^3.0 - Update PHP requirement from ^7.4||^8.0 to ^8.1 - Fix nullable parameter syntax in ScoTracking::setLatestDate() - Remove version field from composer.json for GitHub hosting BREAKING CHANGE: Requires PHP 8.1+ due to Carbon v3 dependency
Diffstat (limited to 'src/Entity/ScoTracking.php')
-rw-r--r--src/Entity/ScoTracking.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entity/ScoTracking.php b/src/Entity/ScoTracking.php
index 64e83b2..e78e02e 100644
--- a/src/Entity/ScoTracking.php
+++ b/src/Entity/ScoTracking.php
@@ -257,7 +257,7 @@ class ScoTracking
return $this->latestDate;
}
- public function setLatestDate(Carbon $latestDate = null)
+ public function setLatestDate(?Carbon $latestDate = null)
{
$this->latestDate = $latestDate;
}