Skip to content

Commit

Permalink
php8 attribute annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
assert6 authored and limingxinleo committed Jun 15, 2021
1 parent bc14c4d commit ccbac60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Annotation/Trace.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@
*/
namespace Hyperf\Tracer\Annotation;

use Attribute;
use Doctrine\Common\Annotations\Annotation\Target;
use Hyperf\Di\Annotation\AbstractAnnotation;

/**
* @Annotation
* @Target({"CLASS", "METHOD"})
*/
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
class Trace extends AbstractAnnotation
{
/**
Expand Down

0 comments on commit ccbac60

Please sign in to comment.