Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing typos and removing dead code

  • Loading branch information...
commit 1d90d29feeaa52efb11f5d7d1225fba69ff5fb10 1 parent befeb4d
@lorenzo lorenzo authored
View
4 src/Database/Expression/TupleComparison.php
@@ -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
View
2  src/ORM/Association/ExternalAssociationTrait.php
@@ -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
*/
View
2  tests/TestCase/Database/Schema/SqliteSchemaTest.php
@@ -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);
View
1  tests/TestCase/ORM/CompositeKeysTest.php
@@ -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,
Please sign in to comment.
Something went wrong with that request. Please try again.