Skip to content

Commit

Permalink
Updated PHPDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
mosaxiv committed Nov 19, 2017
1 parent c486049 commit c2d3a96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Datasource/RepositoryInterface.php
Expand Up @@ -182,7 +182,7 @@ public function newEntity($data = null, array $options = []);
*
* @param array $data The data to build an entity with.
* @param array $options A list of options for the objects hydration.
* @return array An array of hydrated records.
* @return \Cake\Datasource\EntityInterface[] An array of hydrated records.
*/
public function newEntities(array $data, array $options = []);

Expand Down Expand Up @@ -221,7 +221,7 @@ public function patchEntity(EntityInterface $entity, array $data, array $options
* data merged in
* @param array $data list of arrays to be merged into the entities
* @param array $options A list of options for the objects hydration.
* @return array
* @return \Cake\Datasource\EntityInterface[]
*/
public function patchEntities($entities, array $data, array $options = []);
}
4 changes: 2 additions & 2 deletions src/ORM/Marshaller.php
Expand Up @@ -338,7 +338,7 @@ protected function _marshalAssociation($assoc, $value, $options)
*
* @param array $data The data to hydrate.
* @param array $options List of options
* @return array An array of hydrated records.
* @return \Cake\Datasource\EntityInterface[] An array of hydrated records.
* @see \Cake\ORM\Table::newEntities()
* @see \Cake\ORM\Entity::$_accessible
*/
Expand All @@ -361,7 +361,7 @@ public function many(array $data, array $options = [])
* Builds the related entities and handles the special casing
* for junction table entities.
*
* @param \Cake\ORM\BelongsToMany $assoc The association to marshal.
* @param \Cake\ORM\Association\BelongsToMany $assoc The association to marshal.
* @param array $data The data to convert into entities.
* @param array $options List of options.
* @return array An array of built entities.
Expand Down

0 comments on commit c2d3a96

Please sign in to comment.