Skip to content

Commit

Permalink
Updating the doc block for findOrCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Apr 25, 2016
1 parent 8b36769 commit 1130d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Table.php
Expand Up @@ -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.
Expand Down

0 comments on commit 1130d27

Please sign in to comment.