summaryrefslogtreecommitdiff
path: root/src/Entity/ScoTracking.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Entity/ScoTracking.php')
-rw-r--r--src/Entity/ScoTracking.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Entity/ScoTracking.php b/src/Entity/ScoTracking.php
index aa58fe5..f15231f 100644
--- a/src/Entity/ScoTracking.php
+++ b/src/Entity/ScoTracking.php
@@ -4,6 +4,8 @@
namespace Peopleaps\Scorm\Entity;
+use Carbon\Carbon;
+
class ScoTracking
{
public $userId;
@@ -244,7 +246,7 @@ class ScoTracking
return $this->latestDate;
}
- public function setLatestDate(\DateTime $latestDate = null)
+ public function setLatestDate(Carbon $latestDate = null)
{
$this->latestDate = $latestDate;
}