@@ -86,11 +86,11 @@ |
||
| 86 | 86 | /** @noinspection PhpIncludeInspection */ |
| 87 | 87 | include( $realPath ); |
| 88 | 88 | $rendered = ob_get_clean(); |
| 89 | - }elseif ($this->templateString) { |
|
| 89 | + } elseif ($this->templateString) { |
|
| 90 | 90 | ob_start(); |
| 91 | 91 | eval( "?>" . $this->templateString ); |
| 92 | 92 | $rendered = ob_get_clean(); |
| 93 | - }else { |
|
| 93 | + } else { |
|
| 94 | 94 | throw new \Exception( "Neither valid template path no valid template string passed to PhpTemplate." ); |
| 95 | 95 | } |
| 96 | 96 | |