remove unnecessary else.
This commit is contained in:
@@ -111,10 +111,8 @@ 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.");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user