diff --git a/core/modules/comment/lib/Drupal/comment/CommentStatistics.php b/core/modules/comment/lib/Drupal/comment/CommentStatistics.php index 05b436d..fef0d28 100644 --- a/core/modules/comment/lib/Drupal/comment/CommentStatistics.php +++ b/core/modules/comment/lib/Drupal/comment/CommentStatistics.php @@ -6,7 +6,6 @@ namespace Drupal\comment; - use Drupal\Core\Database\Connection; use Drupal\Core\Entity\ContentEntityInterface; use Drupal\Core\Entity\EntityChangedInterface; @@ -16,6 +15,9 @@ use Drupal\Core\Session\AccountInterface; use Drupal\user\EntityOwnerInterface; +/** + * Provides a class for storage and retrieval of comment statistics. + */ class CommentStatistics implements CommentStatisticsInterface { /** diff --git a/core/modules/comment/lib/Drupal/comment/CommentStatisticsInterface.php b/core/modules/comment/lib/Drupal/comment/CommentStatisticsInterface.php index 773c592..e2b2d93 100644 --- a/core/modules/comment/lib/Drupal/comment/CommentStatisticsInterface.php +++ b/core/modules/comment/lib/Drupal/comment/CommentStatisticsInterface.php @@ -33,7 +33,7 @@ public function getRankingInfo(); * @param string $entity_type * The entity type of the passed entities. * - * @return object[] + * @return \StdClass[] * Array of statistics records keyed by entity id. */ public function read($entities, $entity_type);