public function equals(ActivityFeedItem $otherItem): bool
    {
        return $this->getTime()->format("Ymd") == $otherItem->getTime()->format("Ymd") &&
            $this->getTitle() == $otherItem->getTitle() &&
            $this->getDescription() == $otherItem->getDescription();
    }
public function equals(ActivityFeedItem $otherItem): bool
    {
        return $this->getTime()->format("Ymd") == $otherItem->getTime()->format("Ymd") &&
            $this->getTitle() == $otherItem->getTitle() &&
            $this->getDescription() == $otherItem->getDescription();
    }
public function equals ( ActivityFeedItem $ otherItem ) : bool { return $ this -> getTime ( ) -> format ( "Ymd" ) == $ otherItem -> getTime ( ) -> format ( "Ymd" ) && $ this -> getTitle ( ) == $ otherItem -> getTitle ( ) && $ this -> getDescription ( ) == $ otherItem -> getDescription ( ) ; }
Compares this feed item to another.
Only the date part of the time is compared, because adventurer's log feeds only contain accurate date parts.

@param ActivityFeedItem $otherItem
@return bool
Compares this feed item to another . Only the date part of the time is compared because adventurer s log feeds only contain accurate date parts .