Skip to content
Permalink
Browse files

Updating the doc block for findOrCreate

  • Loading branch information...
burzum committed Apr 25, 2016
1 parent 8b36769 commit 1130d27a414561aeedfbf6c9ccf1128133e4f26b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ORM/Table.php
@@ -1213,7 +1213,7 @@ public function get($primaryKey, $options = [])
* called allowing you to define additional default values. The new
* entity will be saved and returned.
*
* @param array|\Cake\ORM\Query|string $search The criteria to find existing records by.
* @param array|\Cake\ORM\Query $search The criteria to find existing records by.
* @param callable|null $callback A callback that will be invoked for newly
* created entities. This callback will be called *before* the entity
* is persisted.

0 comments on commit 1130d27

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