added default values to the signature of Query::left_join to allow closure-based join conditions

This commit is contained in:
Anton Khodakivskiy 2012-03-19 07:47:20 -04:00
parent 20f62b5a1d
commit 1044367c1e
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ public function join($table, $column1, $operator = null, $column2 = null, $type
* @param string $column2 * @param string $column2
* @return Query * @return Query
*/ */
public function left_join($table, $column1, $operator, $column2) public function left_join($table, $column1, $operator = null, $column2 = null)
{ {
return $this->join($table, $column1, $operator, $column2, 'LEFT'); return $this->join($table, $column1, $operator, $column2, 'LEFT');
} }