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,5 +1,6 @@
<?php
declare(strict_types=1);
namespace ZM\Annotation\Swoole;
@@ -10,7 +11,6 @@ use ZM\Annotation\Interfaces\Rule;
/**
* Class OnTask
* @package ZM\Annotation\Swoole
* @Annotation
* @Target("METHOD")
*/
@@ -25,12 +25,13 @@ class OnTask extends AnnotationBase implements Rule
/**
* @var string
*/
public $rule = "";
public $rule = '';
/**
* @return mixed
*/
public function getRule(): string {
public function getRule(): string
{
return $this->rule;
}
}
}