Code style fixes

This commit is contained in:
Dmitry Khomutov 2017-01-13 22:35:41 +07:00
commit 1237bf450c
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
88 changed files with 205 additions and 261 deletions

4
src/B8Framework/View.php Executable file → Normal file
View 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);