@@ -102,8 +102,8 @@ discard block |
||
102 | 102 | { |
103 | 103 | $files = $this->possibleTemplateFiles($name); |
104 | 104 | |
105 | - foreach($files as $file) { |
|
106 | - $filepath = $this->path . DIRECTORY_SEPARATOR . $file; |
|
105 | + foreach ($files as $file) { |
|
106 | + $filepath = $this->path.DIRECTORY_SEPARATOR.$file; |
|
107 | 107 | if (is_file($filepath)) { |
108 | 108 | return $filepath; |
109 | 109 | } |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | $name = $this->normalizeName($name); |
123 | 123 | |
124 | 124 | $templates = [$name]; |
125 | - foreach($this->fileExtensions as $extension) { |
|
125 | + foreach ($this->fileExtensions as $extension) { |
|
126 | 126 | $templates[] = "$name.$extension"; |
127 | 127 | } |
128 | 128 |