Skip to content

Commit

Permalink
Fix up doc block.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 20, 2014
1 parent 015abf7 commit a83685c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ORM/Table.php
Expand Up @@ -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
Expand All @@ -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);
Expand Down

0 comments on commit a83685c

Please sign in to comment.