浏览代码

Update MarkerService, fix php deprecation warning

Daniel Supernault 1 年之前
父节点
当前提交
5169936062
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Services/MarkerService.php

+ 1 - 1
app/Services/MarkerService.php

@@ -13,7 +13,7 @@ class MarkerService
 		return Cache::get(self::CACHE_KEY . $timeline . ':' . $profileId);
 	}
 
-	public static function set($profileId, $timeline = 'home', $entityId)
+	public static function set($profileId, $timeline = 'home', $entityId = false)
 	{
 		$existing = self::get($profileId, $timeline);
 		$key = self::CACHE_KEY . $timeline . ':' . $profileId;