]> BookStack Code Mirror - bookstack/blobdiff - app/Actions/Activity.php
Update settings.php
[bookstack] / app / Actions / Activity.php
index 05f0129ddff7c322f8f900a3f5bdf4e6dba65fda..035a9cc750ef16618ee81b8f48e0981c2442f8da 100644 (file)
@@ -50,10 +50,8 @@ class Activity extends Model
 
     /**
      * Checks if another Activity matches the general information of another.
-     * @param $activityB
-     * @return bool
      */
-    public function isSimilarTo($activityB)
+    public function isSimilarTo(Activity $activityB): bool
     {
         return [$this->key, $this->entity_type, $this->entity_id] === [$activityB->key, $activityB->entity_type, $activityB->entity_id];
     }