summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--composer.json4
-rw-r--r--src/Entity/ScoTracking.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/composer.json b/composer.json
index dee8751..b49b7ca 100644
--- a/composer.json
+++ b/composer.json
@@ -10,10 +10,10 @@
}
],
"require": {
- "php": "^7.4 || ^8.0",
+ "php": "^8.1",
"doctrine/common": "^3.1",
"league/flysystem": "^2.0 || ^3.0",
- "nesbot/carbon": "^2.42",
+ "nesbot/carbon": "^3.0",
"ext-zip": "*",
"ext-dom": "*"
},
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;
}