]> BookStack Code Mirror - bookstack/blobdiff - app/Actions/Activity.php
Added test for logical-theme-system command registration
[bookstack] / app / Actions / Activity.php
index 6a8a9bcd07bbd66c673bf919f2213112f13be90e..3b1408cb94ded300edfe39c978b1b3389b2474cc 100644 (file)
@@ -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];
     }