Skip to content

Commit

Permalink
Fixing typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Mar 3, 2014
1 parent 1c026ff commit c6f8e5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ORM/Marshaller.php
Expand Up @@ -224,7 +224,7 @@ protected function _loadBelongsToMany($assoc, $ids) {
*
* When merging HasMany or BelongsToMany associations, all the entities in the
* `$data` array will appear, those that can be matched by primary key will get
* the data merged, but those that cannot, will be discarded.
* the data merged, but those that cannot, will be discarded.
*
* @param \Cake\Datasource\EntityInterface $entity the entity that will get the
* data merged in
Expand Down Expand Up @@ -266,11 +266,11 @@ public function merge(EntityInterface $entity, array $data, $include = []) {
* Records in `$data` are matched against the entities by using the primary key
* column. Those entries in `$entities` that cannot be matched to any record in
* `$data` will be discarded. Records in `$data` that could not be matched will
* be marshaled as a new entity.
* be marshalled as a new entity.
*
* When merging HasMany or BelongsToMany associations, all the entities in the
* `$data` array will appear, those that can be matched by primary key will get
* the data merged, but those that cannot, will be discarded.
* the data merged, but those that cannot, will be discarded.
*
* @param array|\Traversable $entities the entities that will get the
* data merged in
Expand Down

0 comments on commit c6f8e5c

Please sign in to comment.