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,10 +111,8 @@ class View {
{
return $path;
}
else
{
throw new \Exception("View [".$this->view."] doesn't exist.");
}
throw new \Exception("View [".$this->view."] doesn't exist.");
}
/**