Completed
Pull Request — 2.0.x (#6)
by Andrew
02:36
created
classes/Ingenerator/View/Layout.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,8 +156,7 @@
 block discarded – undo
156 156
             if (Request::current()->is_ajax())
157 157
             {
158 158
                 return false;
159
-            }
160
-            else
159
+            } else
161 160
             {
162 161
                 return true;
163 162
             }
Please login to merge, or discard this patch.
classes/Kohana/View/Stream/Wrapper.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -134,8 +134,7 @@  discard block
 block discarded – undo
134 134
             if (substr($var, 0, 1) != $this->_raw_output_char)
135 135
             {
136 136
                 return '<?php echo '.$this->_encode_method.'('.$var.'); ?>';
137
-            }
138
-            else
137
+            } else
139 138
             {
140 139
                 // Remove the "turn off escape" character
141 140
                 return '<?php echo '.substr($var, strlen($this->_raw_output_char), strlen($var)-1).'; ?>';
@@ -198,8 +197,7 @@  discard block
 block discarded – undo
198 197
 				{
199 198
 					$this->_pos = $offset;
200 199
 					return true;
201
-				}
202
-				else
200
+				} else
203 201
 				{
204 202
 					return false;
205 203
 				}
@@ -210,8 +208,7 @@  discard block
 block discarded – undo
210 208
 				{
211 209
 					$this->_pos += $offset;
212 210
 					return true;
213
-				}
214
-				else
211
+				} else
215 212
 				{
216 213
 					return false;
217 214
 				}
@@ -222,8 +219,7 @@  discard block
 block discarded – undo
222 219
 				{
223 220
 					$this->_pos = strlen($this->_data) + $offset;
224 221
 					return true;
225
-				}
226
-				else
222
+				} else
227 223
 				{
228 224
 					return false;
229 225
 				}
Please login to merge, or discard this patch.
classes/Kohana/View/Model.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -34,8 +34,7 @@  discard block
 block discarded – undo
34 34
 		try
35 35
 		{
36 36
 			include 'kohana.view://'.$kohana_view_filename;
37
-		}
38
-		catch (Exception $e)
37
+		} catch (Exception $e)
39 38
 		{
40 39
 			// Delete the output buffer
41 40
 			ob_end_clean();
@@ -59,8 +58,7 @@  discard block
 block discarded – undo
59 58
 		try
60 59
 		{
61 60
 			return $this->render();
62
-		}
63
-		catch (Exception $e)
61
+		} catch (Exception $e)
64 62
 		{
65 63
 			// Display the exception message
66 64
 			Kohana_Exception::handler($e);
Please login to merge, or discard this patch.