Skip to content

Commit

Permalink
Compliance with PSR1.
Browse files Browse the repository at this point in the history
All documentation was added to the code through comments.
Improved naming of some methods.
Improvement of the scope of some methods.
Improvements in the analysis of variables.
Fix CSS
Fix Comments
  • Loading branch information
arcanisgk committed Feb 26, 2021
1 parent 3bc6250 commit 70959ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OutputHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @see https://github.com/arcanisgk/BOH-Basic-Output-Handler
*
* @author Walter Nuñez (arcanisgk/original founder) <[email protected]>
* @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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 70959ac

Please sign in to comment.