commit b78324f4b03a14e7f7a439c6a93119d0d8774112 Author: Janez Urevc Date: Tue Jul 8 20:00:53 2014 +0200 #48. diff --git a/core/modules/comment/src/CommentStorageInterface.php b/core/modules/comment/src/CommentStorageInterface.php index f97663a..57aa741 100644 --- a/core/modules/comment/src/CommentStorageInterface.php +++ b/core/modules/comment/src/CommentStorageInterface.php @@ -51,7 +51,7 @@ public function getMaxThreadPerThread(CommentInterface $comment); * The field name on the entity to which comments are attached. * * @return array|null - * An array "page=X" if the page number is greater than zero; NULL otherwise. + * Page number where first new comment appears. */ public function getNewCommentPageNumber($total_comments, $new_comments, ContentEntityInterface $entity, $field_name = 'comment'); diff --git a/core/modules/comment/src/Tests/CommentNodeAccessTest.php b/core/modules/comment/src/Tests/CommentNodeAccessTest.php index 7e4525c..dd9b6e1 100644 --- a/core/modules/comment/src/Tests/CommentNodeAccessTest.php +++ b/core/modules/comment/src/Tests/CommentNodeAccessTest.php @@ -8,8 +8,6 @@ namespace Drupal\comment\Tests; use Drupal\comment\CommentManagerInterface; -use Drupal\comment\Entity\Comment; -use Drupal\simpletest\WebTestBase; /** * Tests comments with node access.