Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vendeeglobe committed Jun 4, 2022
1 parent 3ddd9de commit 2ed8916
Show file tree
Hide file tree
Showing 4 changed files with 190 additions and 122 deletions.
6 changes: 3 additions & 3 deletions src/class/diag.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function __construct()
}

// DEBUG INFO
static function full_disclosure(&$config, &$http, &$engine, $cwd)
static function full_disclosure(&$config, &$http, &$engine, $cwd): void
{
chdir($cwd);

Expand Down Expand Up @@ -213,7 +213,7 @@ static function full_disclosure(&$config, &$http, &$engine, $cwd)
static $log = [];

// add some debug output to DEBUG file and popup-window in browser
static function dbg()
static function dbg(): void
{
static $code = ['BLACK' => 0, 'BLUE' => 1, 'GOLD' => 2, 'ORANGE' => 3, 'RED' => 4];

Expand Down Expand Up @@ -250,7 +250,7 @@ static function dbg()
}
}

private static function dbg_console($debug)
private static function dbg_console($debug): void
{
if (!($log = static::$log))
{
Expand Down
Loading

0 comments on commit 2ed8916

Please sign in to comment.