Code Duplication    Length = 7-7 lines in 2 locations

application/libraries/Twig.php 2 locations

@@ 53-59 (lines=7) @@
50
51
		$this->config = array_merge($this->config, $params);
52
53
		if (isset($params['functions']))
54
		{
55
			$this->functions_asis = 
56
				array_unique(
57
					array_merge($this->functions_asis, $params['functions'])
58
				);
59
		}
60
		if (isset($params['functions_safe']))
61
		{
62
			$this->functions_safe = 
@@ 60-66 (lines=7) @@
57
					array_merge($this->functions_asis, $params['functions'])
58
				);
59
		}
60
		if (isset($params['functions_safe']))
61
		{
62
			$this->functions_safe = 
63
				array_unique(
64
					array_merge($this->functions_safe, $params['functions_safe'])
65
				);
66
		}
67
	}
68
69
	protected function resetTwig()