@@ -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. |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | * @link https://github.com/ingenerator/koharness |
| 8 | 8 | */ |
| 9 | 9 | return array( |
| 10 | - 'modules' => array( |
|
| 10 | + 'modules' => array( |
|
| 11 | 11 | 'kohana-view' => __DIR__, |
| 12 | - ) |
|
| 12 | + ) |
|
| 13 | 13 | ); |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | return $this->use_layout; |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | - if ($this->current_request AND $this->current_request->is_ajax()) { |
|
| 82 | + if ($this->current_request and $this->current_request->is_ajax()) { |
|
| 83 | 83 | return FALSE; |
| 84 | 84 | } else { |
| 85 | 85 | return TRUE; |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | */ |
| 91 | 91 | protected function isCompileRequired($compiled_path) |
| 92 | 92 | { |
| 93 | - if ($this->recompile_always AND ! isset($this->compiled_paths[$compiled_path])) { |
|
| 93 | + if ($this->recompile_always and ! isset($this->compiled_paths[$compiled_path])) { |
|
| 94 | 94 | return TRUE; |
| 95 | 95 | } |
| 96 | 96 | |