Skip to content
Permalink
Browse files

Fix up doc block.

  • Loading branch information...
markstory committed Sep 20, 2014
1 parent 015abf7 commit a83685cc605ee76dda9f2b7233f8628b058d57da
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ORM/Table.php
@@ -935,7 +935,7 @@ public function get($primaryKey, $options = []) {
}
/**
* Finds an existing record or creates a new record.
* Finds an existing record or creates a new one.
*
* Using the attributes defined in $search a find() will be done to locate
* an existing record. If that record exists it will be returned. If it does
@@ -945,7 +945,7 @@ public function get($primaryKey, $options = []) {
* @param array $search The criteria to find existing records by.
* @param array $additional The array of additional attributes to patch into
* the new or existing entity.
* @return Cake\Datasource\EntityInterface An entity.
* @return \Cake\Datasource\EntityInterface An entity.
*/
public function findOrNew($search, $additional = []) {
$query = $this->find()->where($search);

0 comments on commit a83685c

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