Skip to content

Commit

Permalink
Add Attribute import and declaration to FakeAttr classes
Browse files Browse the repository at this point in the history
This commit adds the import statement for the Attribute class and uses the Attribute declaration on the FakeAttr1 and FakeAttr2 classes. This adjustment ensures that these classes are properly recognized as attributes in the codebase.
  • Loading branch information
koriym committed Nov 15, 2024
1 parent db92e2a commit f4790bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Fake/Attribute/FakeAttr1.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace Ray\Aop\Attribute;

use Attribute;

#[Attribute]
final class FakeAttr1
{
}
3 changes: 3 additions & 0 deletions tests/Fake/Attribute/FakeAttr2.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

namespace Ray\Aop\Attribute;

use Attribute;

#[Attribute]
final class FakeAttr2
{
private function __construct(
Expand Down

0 comments on commit f4790bd

Please sign in to comment.