diff --git a/src/OutputHandler.php b/src/OutputHandler.php index 92c41eb..0597998 100644 --- a/src/OutputHandler.php +++ b/src/OutputHandler.php @@ -7,7 +7,7 @@ * @see https://github.com/arcanisgk/BOH-Basic-Output-Handler * * @author Walter Nuñez (arcanisgk/original founder) - * @copyright 2020 - 2021 Marcus Bointon + * @copyright 2020 - 2021 Walter Nuñez. * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License * @note This program is distributed in the hope that it will be useful * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY @@ -360,7 +360,7 @@ private function applyCss(string $string): string private function checkEnv($env): string { $iscli = IsCommandLineInterface(); - $env = ($env == null ? $this->defenv : $env); + $env = $env == null ? $this->defenv : $env; if ($iscli && $env == 'wb') { echo 'error: you are trying to run output() method from CLI and it is not supported, use OutputCli() or AdvanceOutput() with CLI argument method instead.'; exit;