modify plugin name

This commit is contained in:
2022-02-28 10:20:46 +08:00
parent e7e951ab39
commit 4af17359a7
+3 -3
View File
@@ -87,14 +87,14 @@ class Target
/**
* @param string $method
* @param string $annotation
* @return mixed
* @return null|array
* @throws ReflectionException
*/
public function getSpecify_annotation(string $method, string $annotation): mixed
#[Pure] public function getSpecify_annotation(string $method, string $annotation): ?array
{
$data = $this->getMethodAttribute($method, $annotation);
if (!empty($data)) {
return $data->newInstance();
return $data;
}
return null;
}