Make view::with value optional.
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user