diff --git a/laravel/view.php b/laravel/view.php index 4b649ceb..9562d2e7 100644 --- a/laravel/view.php +++ b/laravel/view.php @@ -390,7 +390,7 @@ class View implements ArrayAccess { * @param mixed $value * @return View */ - public function with($key, $value) + public function with($key, $value = null) { if (is_array($key)) {