mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-22 22:27:39 -04:00
Convert to PSR-2 coding style (using phpcs-fixer)
This commit is contained in:
+1
-2
@@ -53,8 +53,7 @@ class view
|
||||
public function draw($template)
|
||||
{
|
||||
$path = PATH . 'tpl' . DIRECTORY_SEPARATOR . $template . '.php';
|
||||
if (!file_exists($path))
|
||||
{
|
||||
if (!file_exists($path)) {
|
||||
throw new Exception('Template ' . $template . ' not found!', 80);
|
||||
}
|
||||
extract($this->_variables);
|
||||
|
||||
Reference in New Issue
Block a user