Completed
Push — develop ( c1861f...657930 )
by Kenji
06:24
created
application/libraries/Twig.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 		// default config
46 46
 		$this->config = [
47 47
 			'paths' => [VIEWPATH],
48
-			'cache' => APPPATH . '/cache/twig',
48
+			'cache' => APPPATH.'/cache/twig',
49 49
 		];
50 50
 
51 51
 		$this->config = array_merge($this->config, $params);
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 	 */
134 134
 	public function display($view, $params = [])
135 135
 	{
136
-		$CI =& get_instance();
136
+		$CI = & get_instance();
137 137
 		$CI->output->set_output($this->render($view, $params));
138 138
 	}
139 139
 
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 		// after loading CodeIgniter functions in a controller.
152 152
 		$this->addFunctions();
153 153
 
154
-		$view = $view . '.twig';
154
+		$view = $view.'.twig';
155 155
 		return $this->twig->render($view, $params);
156 156
 	}
157 157
 
Please login to merge, or discard this patch.