Skip to content

Commit

Permalink
Fixing typos and removing dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jan 16, 2014
1 parent befeb4d commit 1d90d29
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Database/Expression/TupleComparison.php
Expand Up @@ -110,9 +110,9 @@ protected function _stringifyValues($generator) {

/**
* Traverses the tree of expressions stored in this object, visiting first
* expressions in the left hand side and the the rest.
* expressions in the left hand side and then the rest.
*
* Callback function receives as only argument an instance of a ExpresisonInterface
* Callback function receives as its only argument an instance of an ExpresisonInterface
*
* @param callable $callable
* @return void
Expand Down
2 changes: 1 addition & 1 deletion src/ORM/Association/ExternalAssociationTrait.php
Expand Up @@ -186,7 +186,7 @@ protected function _resultInjector($fetchQuery, $resultMap) {
* be done with multiple foreign keys
*
* @param array $resultMap a keyed arrays containing the target table
* @param array $sourceKeys an array witha aliased keys to match
* @param array $sourceKeys an array with aliased keys to match
* @param string $nestKey the key under which results should be nested
* @return \Closure
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Database/Schema/SqliteSchemaTest.php
Expand Up @@ -160,7 +160,7 @@ public function testConvertColumn($type, $expected) {
*
* @return void
*/
public function testCovenrtCompositPrimaryKey() {
public function testConvertCompositPrimaryKey() {
$driver = $this->getMock('Cake\Database\Driver\Sqlite');
$dialect = new SqliteSchema($driver);

Expand Down
1 change: 0 additions & 1 deletion tests/TestCase/ORM/CompositeKeysTest.php
Expand Up @@ -76,7 +76,6 @@ public function strategiesProvider() {
*/
public function testHasManyEager($strategy) {
$table = TableRegistry::get('SiteAuthors');
TableRegistry::get('SiteArticles');
$table->hasMany('SiteArticles', [
'propertyName' => 'articles',
'strategy' => $strategy,
Expand Down

0 comments on commit 1d90d29

Please sign in to comment.