Skip to content
Permalink
Browse files

Updated PHPDoc

  • Loading branch information...
mosaxiv committed Nov 19, 2017
1 parent c486049 commit c2d3a9656fb269a97cb66710c9ea9012d76ddeba
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/Datasource/RepositoryInterface.php
  2. +2 −2 src/ORM/Marshaller.php
@@ -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 = []);
@@ -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 = []);
}
@@ -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
*/
@@ -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.

0 comments on commit c2d3a96

Please sign in to comment.
You can’t perform that action at this time.