Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -44,7 +44,7 @@ class Activity extends Model | ... | @@ -44,7 +44,7 @@ class Activity extends Model |
| 44 | * @return bool | 44 | * @return bool |
| 45 | */ | 45 | */ |
| 46 | public function isSimilarTo($activityB) { | 46 | public function isSimilarTo($activityB) { |
| 47 | - return [$this->key, $this->entitiy_type, $this->entitiy_id] === [$activityB->key, $activityB->entitiy_type, $activityB->entitiy_id]; | 47 | + return [$this->key, $this->entity_type, $this->entity_id] === [$activityB->key, $activityB->entity_type, $activityB->entity_id]; |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | } | 50 | } | ... | ... |
-
Please register or sign in to post a comment