Make view::with value optional.

This commit is contained in:
Taylor Otwell 2012-03-24 22:39:23 -05:00
parent 9dbbc5848b
commit 991fc70275
1 changed files with 1 additions and 1 deletions

View File

@ -390,7 +390,7 @@ public function nest($key, $view, $data = array())
* @param mixed $value
* @return View
*/
public function with($key, $value)
public function with($key, $value = null)
{
if (is_array($key))
{