Commit 6b9b0ad5 authored by Taylor Otwell's avatar Taylor Otwell

remove unnecessary else.

parent a4e8375f
...@@ -111,11 +111,9 @@ class View { ...@@ -111,11 +111,9 @@ class View {
{ {
return $path; return $path;
} }
else
{
throw new \Exception("View [".$this->view."] doesn't exist."); throw new \Exception("View [".$this->view."] doesn't exist.");
} }
}
/** /**
* Add a view instance to the view data. * Add a view instance to the view data.
......
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