add cs fixer and PHPStan and activate it (build 436)

This commit is contained in:
crazywhalecc
2022-03-15 18:05:33 +08:00
parent d01bd69aa5
commit 1706afbcd0
163 changed files with 4572 additions and 3588 deletions

View File

@@ -1,16 +1,17 @@
<?php
declare(strict_types=1);
namespace ZM\Exception;
use Throwable;
class WaitTimeoutException extends ZMException
{
public $module;
public function __construct($module, $message = "", $code = 0, Throwable $previous = null) {
public function __construct($module, $message = '', $code = 0, Throwable $previous = null)
{
parent::__construct($message, $code, $previous);
$this->module = $module;
}