Permalink
Browse files

Fixing a couple typos

  • Loading branch information...
lorenzo committed Feb 9, 2014
1 parent a9bc321 commit 43c039db2c50c24952820e89cdf65ec8401e6645
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/ORM/Association.php
  2. +1 −1 tests/TestCase/ORM/Association/BelongsToTest.php
View
@@ -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
@@ -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',

0 comments on commit 43c039d

Please sign in to comment.