Skip to content

Commit

Permalink
docs block : execute() to toArray()
Browse files Browse the repository at this point in the history
  • Loading branch information
saeideng committed Feb 7, 2016
1 parent f33f363 commit e4577e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Association/BelongsToMany.php
Expand Up @@ -684,7 +684,7 @@ protected function _saveLinks(EntityInterface $sourceEntity, $targetEntities, $o
* ### Example:
*
* ```
* $newTags = $tags->find('relevant')->execute();
* $newTags = $tags->find('relevant')->toArray();
* $articles->association('tags')->link($article, $newTags);
* ```
*
Expand Down

0 comments on commit e4577e7

Please sign in to comment.