From 7aed59efd2de021231eb5d7c5a206b995dc0c095 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 18 Jan 2016 17:55:56 -0500 Subject: [PATCH] Substitute these not not operators with their real meaning Signed-off-by: Marc Delisle --- libraries/Console.php | 2 +- libraries/Footer.php | 2 +- libraries/Header.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/Console.php b/libraries/Console.php index a5a8142588..b00a2c6352 100644 --- a/libraries/Console.php +++ b/libraries/Console.php @@ -56,7 +56,7 @@ class Console */ public function setAjax($isAjax) { - $this->_isAjax = !!$isAjax; + $this->_isAjax = (boolean) $isAjax; } /** diff --git a/libraries/Footer.php b/libraries/Footer.php index aaf8aeee22..dac15c0e9b 100644 --- a/libraries/Footer.php +++ b/libraries/Footer.php @@ -271,7 +271,7 @@ class Footer */ public function setAjax($isAjax) { - $this->_isAjax = !!$isAjax; + $this->_isAjax = (boolean) $isAjax; } /** diff --git a/libraries/Header.php b/libraries/Header.php index d9f6114042..01ccf12470 100644 --- a/libraries/Header.php +++ b/libraries/Header.php @@ -298,7 +298,7 @@ class Header */ public function setAjax($isAjax) { - $this->_isAjax = !!$isAjax; + $this->_isAjax = (boolean) $isAjax; $this->_console->setAjax($isAjax); }