Issues (26)

src/Attributes/Attribute.php (1 issue)

Labels
Severity
1
<?php namespace JSONAPI\Resource\Attributes;
2
3
use JSONAPI\Resource\Attributes\AbstractFieldAttribute;
4
use ReflectionMethod;
5
use ReflectionProperty;
6
use ReflectionException;
7
8
/**
9
 * Attribute used to mark method or property as JSON:API resource attribute.
10
 */
11
#[\Attribute(
12
    \Attribute::IS_REPEATABLE |
13
    \Attribute::TARGET_METHOD |
14
    \Attribute::TARGET_PROPERTY |
15
    \Attribute::TARGET_CLASS
16
)]
0 ignored issues
show
A parse error occurred: Syntax error, unexpected ')' on line 16 at column 0
Loading history...
17
class Attribute extends AbstractFieldAttribute
18
{
19
}