Skip to content

Commit

Permalink
Fixing a couple typos
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Feb 9, 2014
1 parent a9bc321 commit 43c039d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ORM/Association.php
Expand Up @@ -556,7 +556,7 @@ protected function _formatAssociationResults($query, $surrogate, $options) {
* in the `$surrogate` query.
*
* Copies all contained associations from the `$surrogate` query into the
* passed `$query`. Containments are altered so that thy respect the associations
* passed `$query`. Containments are altered so that they respect the associations
* chain from which they originated.
*
* @param \Cake\ORM\Query $query the query that will get the associations attached to
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/ORM/Association/BelongsToTest.php
Expand Up @@ -216,7 +216,7 @@ public function testAttachToWithQueryBuilder() {
*
* @return void
*/
public function testAttachToMAtching() {
public function testAttachToMatching() {
$query = $this->getMock('\Cake\ORM\Query', ['join', 'select'], [null, null]);
$config = [
'foreignKey' => 'company_id',
Expand Down

0 comments on commit 43c039d

Please sign in to comment.