Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | class FooType extends AbstractAnnotatedObjectType |
||
24 | { |
||
25 | public function __construct(RegistryInterface $registry) |
||
26 | { |
||
27 | parent::__construct($registry); |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @Field() |
||
32 | * @param TestObject $test |
||
33 | * @param string $param |
||
34 | * @return string |
||
35 | */ |
||
36 | public function customField(TestObject $test, string $param = 'foo'): string |
||
39 | } |
||
40 | } |
||
41 |