@@ -60,13 +60,9 @@ |
||
| 60 | 60 | |
| 61 | 61 | if (file_exists($file)) { |
| 62 | 62 | $this->template = file_get_contents($file); |
| 63 | - } |
|
| 64 | - |
|
| 65 | - else if (file_exists($distFile)) { |
|
| 63 | + } else if (file_exists($distFile)) { |
|
| 66 | 64 | $this->template = file_get_contents($distFile); |
| 67 | - } |
|
| 68 | - |
|
| 69 | - else { |
|
| 65 | + } else { |
|
| 70 | 66 | throw new InvalidArgumentException( |
| 71 | 67 | 'Template file could not be loaded.' |
| 72 | 68 | ); |