Skip to content
Permalink
Browse files

Fixing typos and removing dead code

  • Loading branch information...
lorenzo committed Jan 16, 2014
1 parent befeb4d commit 1d90d29feeaa52efb11f5d7d1225fba69ff5fb10
@@ -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
@@ -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
*/
@@ -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);
@@ -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,

0 comments on commit 1d90d29

Please sign in to comment.
You can’t perform that action at this time.