From f5255269f21e66481166518db2653dc3e8c46202 Mon Sep 17 00:00:00 2001 From: Christian Mohr Date: Thu, 15 Mar 2018 16:21:49 +0100 Subject: fixed styleguide violations --- system/core/Loader.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'system/core/Loader.php') diff --git a/system/core/Loader.php b/system/core/Loader.php index 18fba2b72..9a56b3857 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -957,18 +957,21 @@ class CI_Loader { */ // Init current _ci_vars as current variable configuration - if (!is_array($_ci_vars)) { + if ( ! is_array($_ci_vars)) + { $_ci_vars = []; } // Include the global cached vars into the current _ci_vars if needed - if (!empty($this->_ci_cached_vars)) { + if ( ! empty($this->_ci_cached_vars)) + { $_ci_vars = array_merge($this->_ci_cached_vars, $_ci_vars); } // Merge the last variable configuration from a parent _ci_load() // call into the current _ci_vars - if (!empty($this->_ci_load_vars_stack)) { + if ( ! empty($this->_ci_load_vars_stack)) + { $previous_variable_configuration = end($this->_ci_load_vars_stack); $_ci_vars = array_merge($previous_variable_configuration, $_ci_vars); } -- cgit v1.2.3-24-g4f1b