| @@ -40,7 +40,7 @@ discard block | ||
| 40 | 40 | * @param array $parameters | 
| 41 | 41 | * @param $matchedSitemapItem | 
| 42 | 42 | */ | 
| 43 | - public function __construct($template='', Request $request, $parameters=array(), $matchedSitemapItem) | |
| 43 | + public function __construct($template = '', Request $request, $parameters = array(), $matchedSitemapItem) | |
| 44 | 44 |  		{ | 
| 45 | 45 | $this->template = $template; | 
| 46 | 46 | $this->request = $request; | 
| @@ -87,9 +87,9 @@ discard block | ||
| 87 | 87 | * @return string | 
| 88 | 88 | * @throws \Exception | 
| 89 | 89 | */ | 
| 90 | - public function renderTemplate($template='', $obClean = true) | |
| 90 | + public function renderTemplate($template = '', $obClean = true) | |
| 91 | 91 |  		{ | 
| 92 | - $templatePath = __DIR__ . '/../../templates/' . $template . '.php'; | |
| 92 | + $templatePath = __DIR__.'/../../templates/'.$template.'.php'; | |
| 93 | 93 |  			if (realpath($templatePath) !== false) { | 
| 94 | 94 |  				if ($obClean) { | 
| 95 | 95 | ob_clean(); | 
| @@ -99,7 +99,7 @@ discard block | ||
| 99 | 99 | include($templatePath); | 
| 100 | 100 | return ob_get_contents(); | 
| 101 | 101 |  			} else { | 
| 102 | -				throw new \Exception('Couldnt find template ' . $templatePath); | |
| 102 | +				throw new \Exception('Couldnt find template '.$templatePath); | |
| 103 | 103 | } | 
| 104 | 104 | } | 
| 105 | 105 | |
| @@ -113,7 +113,7 @@ discard block | ||
| 113 | 113 | * @return string | 
| 114 | 114 | * @throws \Exception | 
| 115 | 115 | */ | 
| 116 | - public function includeTemplate($template='', $parameters = array()) | |
| 116 | + public function includeTemplate($template = '', $parameters = array()) | |
| 117 | 117 |  		{ | 
| 118 | 118 |  			if (is_array($parameters)) { | 
| 119 | 119 |  				foreach ($parameters as $name => $value) { |