From a68fc3220418c304a69daf6b2abb4f91fb431933 Mon Sep 17 00:00:00 2001 From: fadrian06 Date: Mon, 3 Jun 2024 11:17:34 -0400 Subject: [PATCH] Unnecessary explicitness :| --- flight/template/View.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/template/View.php b/flight/template/View.php index d347a50..15e4fc8 100644 --- a/flight/template/View.php +++ b/flight/template/View.php @@ -118,10 +118,10 @@ class View \extract($this->vars); - if (\is_array($data)) { + if (\is_array($data) === true) { \extract($data); - if ($this->preserveVars) { + if ($this->preserveVars === true) { $this->vars = \array_merge($this->vars, $data); } }