cleaning up code.

This commit is contained in:
Taylor Otwell
2012-02-17 16:30:11 -06:00
parent 33e4914634
commit fe0b4b287d
5 changed files with 28 additions and 27 deletions

View File

@@ -150,7 +150,7 @@ class Query {
{
// If the "column" is really an instance of a Closure, the developer is
// trying to create a join with a complex "ON" clause. So, we will add
// the join, and then call the Closure with the join.
// the join, and then call the Closure with the join/
if ($column1 instanceof Closure)
{
$this->joins[] = new Query\Join($type, $table);
@@ -435,7 +435,7 @@ class Query {
//
// The index variable helps us get the correct parameter value
// for the where condition. We increment it each time we add
// a condition to the query.
// a condition to the query's where.
$connector = 'AND';
$index = 0;