diff --git a/core/modules/comment/comment.entity.inc b/core/modules/comment/comment.entity.inc index b36e88c..8db4167 100644 --- a/core/modules/comment/comment.entity.inc +++ b/core/modules/comment/comment.entity.inc @@ -223,10 +223,9 @@ class CommentStorageController extends EntityDatabaseStorageController { * The {node_comment_statistics} table has the following fields: * - last_comment_timestamp: The timestamp of the last comment for this node, * or the node created timestamp if no comments exist for the node. - * - last_comment_name: The name of the anonymous poster for the last - * comment. + * - last_comment_name: The name of the anonymous poster for the last comment. * - last_comment_uid: The user ID of the poster for the last comment for - * this node, or the node author's user ID if no comments exists for the + * this node, or the node author's user ID if no comments exist for the * node. * - comment_count: The total number of approved/published comments on this * node. diff --git a/core/modules/entity/entity.class.inc b/core/modules/entity/entity.class.inc index 9d4a57f..1dec8ee 100644 --- a/core/modules/entity/entity.class.inc +++ b/core/modules/entity/entity.class.inc @@ -34,8 +34,7 @@ interface EntityInterface { * Returns whether the entity is new. * * @return - * TRUE if the entity is new, or FALSE if the entity has already been - * saved. + * TRUE if the entity is new, or FALSE if the entity has already been saved. */ public function isNew(); @@ -161,7 +160,7 @@ class Entity implements EntityInterface { } /** - * Sets up the object instance on construction or unserializiation. + * Sets up the object instance on construction or unserialization. */ protected function setUp() { $this->entityInfo = entity_get_info($this->entityType); diff --git a/core/modules/entity/entity.controller.inc b/core/modules/entity/entity.controller.inc index af8e983..cca1845 100644 --- a/core/modules/entity/entity.controller.inc +++ b/core/modules/entity/entity.controller.inc @@ -546,7 +546,7 @@ class EntityDatabaseStorageController extends DrupalDefaultEntityController impl protected function postDelete($entities) { } /** - * Invokes a hook on behalf the entity. + * Invokes a hook on behalf of the entity. * * @param $op * One of 'presave', 'insert', 'update', or 'delete'. @@ -563,4 +563,3 @@ class EntityDatabaseStorageController extends DrupalDefaultEntityController impl module_invoke_all('entity_' . $hook, $entity, $this->entityType); } } - diff --git a/core/modules/entity/tests/entity.test b/core/modules/entity/tests/entity.test index 3733c93..e7a4b34 100644 --- a/core/modules/entity/tests/entity.test +++ b/core/modules/entity/tests/entity.test @@ -66,4 +66,3 @@ class EntityAPITestCase extends DrupalWebTestCase { $this->assertTrue(empty($all), 'Deleted all entities.'); } } -