Skip to content

Commit 56f855c

Browse files
committed
style: add empty lines
1 parent f2d87d2 commit 56f855c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

system/View/View.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,11 @@ public function render(string $view, ?array $options = null, ?bool $saveData = n
171171
// multiple views are called in a view, it won't
172172
// clean it unless we mean it to.
173173
$saveData ??= $this->saveData;
174-
$fileExt = pathinfo($view, PATHINFO_EXTENSION);
175-
$realPath = empty($fileExt) ? $view . '.php' : $view; // allow Views as .html, .tpl, etc (from CI3)
174+
175+
$fileExt = pathinfo($view, PATHINFO_EXTENSION);
176+
// allow Views as .html, .tpl, etc (from CI3)
177+
$realPath = empty($fileExt) ? $view . '.php' : $view;
178+
176179
$this->renderVars['view'] = $realPath;
177180
$this->renderVars['options'] = $options ?? [];
178181

0 commit comments

Comments
 (0)