Commit 7e7f70db authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #423 from akhodakivskiy/master

Query::left_join to accept closures
parents aadddcb1 1044367c
...@@ -182,7 +182,7 @@ class Query { ...@@ -182,7 +182,7 @@ class Query {
* @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');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment