X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/c429cf78187e80deb63982a282a1c6889f30291a..refs/pull/3247/head:/app/Actions/Activity.php diff --git a/app/Actions/Activity.php b/app/Actions/Activity.php index 6a8a9bcd0..3b1408cb9 100644 --- a/app/Actions/Activity.php +++ b/app/Actions/Activity.php @@ -61,7 +61,7 @@ class Activity extends Model /** * Checks if another Activity matches the general information of another. */ - public function isSimilarTo(Activity $activityB): bool + public function isSimilarTo(self $activityB): bool { return [$this->type, $this->entity_type, $this->entity_id] === [$activityB->type, $activityB->entity_type, $activityB->entity_id]; }