@@ -47,7 +47,7 @@ |
||
| 47 | 47 | */ |
| 48 | 48 | public function var_page() |
| 49 | 49 | { |
| 50 | - if ( is_string($this->template)) |
|
| 50 | + if (is_string($this->template)) |
|
| 51 | 51 | { |
| 52 | 52 | $class = 'View_Template_'.$this->template; |
| 53 | 53 | if ( ! class_exists($class)) |
@@ -10,9 +10,9 @@ |
||
| 10 | 10 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
| 11 | 11 | <html> |
| 12 | 12 | <head> |
| 13 | - <title><?=$title;?></title> |
|
| 13 | + <title><?=$title; ?></title> |
|
| 14 | 14 | </head> |
| 15 | 15 | <body> |
| 16 | - <?=$body;?> |
|
| 16 | + <?=$body; ?> |
|
| 17 | 17 | </body> |
| 18 | 18 | </html> |
@@ -77,11 +77,11 @@ |
||
| 77 | 77 | { |
| 78 | 78 | /** @noinspection PhpUnusedParameterInspection */ |
| 79 | 79 | /** @noinspection PhpDocSignatureInspection */ |
| 80 | - $bound_capture = function (ViewModel $view, Renderer $renderer, $template) { |
|
| 80 | + $bound_capture = function(ViewModel $view, Renderer $renderer, $template) { |
|
| 81 | 81 | /** @noinspection PhpIncludeInspection */ |
| 82 | 82 | return include $template; |
| 83 | 83 | }; |
| 84 | - $anon_capture = $bound_capture->bindTo(NULL); |
|
| 84 | + $anon_capture = $bound_capture->bindTo(NULL); |
|
| 85 | 85 | |
| 86 | 86 | // A user's own error handler may throw an exception here if the include fails - which we will bubble as-is. |
| 87 | 87 | // If they have not configured an error handler, we need to throw an exception of our own. |