Code style fixes
This commit is contained in:
parent
dfd002d35f
commit
1237bf450c
88 changed files with 205 additions and 261 deletions
4
src/B8Framework/View.php
Executable file → Normal file
4
src/B8Framework/View.php
Executable file → Normal file
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
namespace b8;
|
||||
|
||||
class ViewRuntimeException extends \RuntimeException {}
|
||||
|
||||
class View
|
||||
{
|
||||
protected $_vars = [];
|
||||
|
|
@ -13,7 +11,7 @@ class View
|
|||
public function __construct($file, $path = null)
|
||||
{
|
||||
if (!self::exists($file, $path)) {
|
||||
throw new ViewRuntimeException('View file does not exist: ' . $file);
|
||||
throw new \RuntimeException('View file does not exist: ' . $file);
|
||||
}
|
||||
|
||||
$this->viewFile = self::getViewFile($file, $path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue