mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-03 23:05:41 +08:00
add doctor command
This commit is contained in:
@@ -13,9 +13,9 @@ class UnixShell
|
||||
|
||||
private bool $debug;
|
||||
|
||||
public function __construct()
|
||||
public function __construct(?bool $debug = null)
|
||||
{
|
||||
$this->debug = defined('DEBUG_MODE');
|
||||
$this->debug = $debug ?? defined('DEBUG_MODE');
|
||||
}
|
||||
|
||||
public function cd(string $dir): UnixShell
|
||||
|
||||
Reference in New Issue
Block a user