remove unnecessary else.

This commit is contained in:
Taylor Otwell
2011-07-26 15:31:56 -05:00
parent a4e8375feb
commit 6b9b0ad5cd

View File

@@ -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.