remove unnecessary else.
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user