diff --git a/src/ORM/Table.php b/src/ORM/Table.php index 029e54f4bd3..883c5607743 100644 --- a/src/ORM/Table.php +++ b/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.