diff --git a/laravel/database/query.php b/laravel/database/query.php index e19708ae..9d221176 100644 --- a/laravel/database/query.php +++ b/laravel/database/query.php @@ -182,7 +182,7 @@ class Query { * @param string $column2 * @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'); } diff --git a/readme.md b/readme.md index da5fb487..e05ef395 100644 --- a/readme.md +++ b/readme.md @@ -41,7 +41,7 @@ Laravel is a clean and classy framework for PHP web development. Freeing you fro Contributions are encouraged and welcome; however, please review the Developer Certificate of Origin in the "license.txt" file included in the repository. All commits must be signed off using the "-s" switch. - git commit -s -m "thie commit will be signed off automatically!" + git commit -s -m "this commit will be signed off automatically!" ### License