remove unnecessary else.
This commit is contained in:
parent
a4e8375feb
commit
6b9b0ad5cd
|
@ -111,10 +111,8 @@ protected function find()
|
|||
{
|
||||
return $path;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new \Exception("View [".$this->view."] doesn't exist.");
|
||||
}
|
||||
|
||||
throw new \Exception("View [".$this->view."] doesn't exist.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue