From 43c039db2c50c24952820e89cdf65ec8401e6645 Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Sun, 9 Feb 2014 16:05:24 +0100 Subject: [PATCH] Fixing a couple typos --- src/ORM/Association.php | 2 +- tests/TestCase/ORM/Association/BelongsToTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ORM/Association.php b/src/ORM/Association.php index 8c4cad3d03e..5ebe491d96a 100644 --- a/src/ORM/Association.php +++ b/src/ORM/Association.php @@ -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 diff --git a/tests/TestCase/ORM/Association/BelongsToTest.php b/tests/TestCase/ORM/Association/BelongsToTest.php index b190989eef4..1977182cd79 100644 --- a/tests/TestCase/ORM/Association/BelongsToTest.php +++ b/tests/TestCase/ORM/Association/BelongsToTest.php @@ -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',