Completed
Pull Request — 2.0.x (#6)
by Andrew
02:59
created
classes/Ingenerator/View/Layout.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
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))
Please login to merge, or discard this patch.
views/template/global.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
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>
Please login to merge, or discard this patch.
classes/Ingenerator/KohanaView/Renderer/HTMLRenderer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,11 +77,11 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.