diff --git a/app/Models/CollectorModel.php b/app/Models/CollectorModel.php index 5f65462..ac6fd44 100644 --- a/app/Models/CollectorModel.php +++ b/app/Models/CollectorModel.php @@ -27,7 +27,7 @@ class CollectorModel extends CommonModel parent::__construct(); } - public function getLastEntity($uid): CollectorEntity + public function getLastEntity($uid): CollectorEntity|null { return $this ->where('trafficinfo_uid', $uid)