mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-20 23:25:35 +08:00
fix @Rule type annotation parse function error.
fix @RequestMapping parse tree error.
This commit is contained in:
@@ -41,7 +41,7 @@ class SwooleEventAt extends AnnotationBase implements Rule, Level
|
||||
/**
|
||||
* @param string $type
|
||||
*/
|
||||
public function setType(string $type): void {
|
||||
public function setType(string $type) {
|
||||
$this->type = $type;
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ class SwooleEventAt extends AnnotationBase implements Rule, Level
|
||||
/**
|
||||
* @param string $rule
|
||||
*/
|
||||
public function setRule(string $rule): void {
|
||||
public function setRule(string $rule) {
|
||||
$this->rule = $rule;
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ class SwooleEventAt extends AnnotationBase implements Rule, Level
|
||||
/**
|
||||
* @param int $level
|
||||
*/
|
||||
public function setLevel(int $level): void {
|
||||
public function setLevel(int $level) {
|
||||
$this->level = $level;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user