Commit d5a11cdb authored by Taylor Otwell's avatar Taylor Otwell

Cleaning up the view class.

parent 9cabf545
......@@ -196,10 +196,7 @@ class View {
foreach ($this->data as &$data)
{
if ($data instanceof View or $data instanceof Response)
{
$data = (string) $data;
}
if ($data instanceof View or $data instanceof Response) $data = (string) $data;
}
extract($this->data, EXTR_SKIP);
......
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