Skip to content

Commit a68fc32

Browse files
committed
Unnecessary explicitness :|
1 parent f3453ca commit a68fc32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flight/template/View.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ public function render(string $file, ?array $data = null): void
118118

119119
\extract($this->vars);
120120

121-
if (\is_array($data)) {
121+
if (\is_array($data) === true) {
122122
\extract($data);
123123

124-
if ($this->preserveVars) {
124+
if ($this->preserveVars === true) {
125125
$this->vars = \array_merge($this->vars, $data);
126126
}
127127
}

0 commit comments

Comments
 (0)