Skip to content
Permalink
Browse files

docs block : execute() to toArray()

  • Loading branch information...
saeideng committed Feb 7, 2016
1 parent f33f363 commit e4577e747694b427c83e50bfe0f0f01874da8412
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ORM/Association/BelongsToMany.php
@@ -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);
* ```
*

0 comments on commit e4577e7

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