Total Complexity | 4 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | class Curies extends \yii\base\Behavior |
||
13 | { |
||
14 | /** |
||
15 | * @var Link[] The curies links. Autogenerated links will be stored here. |
||
16 | */ |
||
17 | public array $curiesLinks = []; |
||
18 | |||
19 | /** |
||
20 | * @var ?string name of the autogenerated expand curie. Set `null` if you |
||
21 | * don't want to autogenerate expand curie. |
||
22 | */ |
||
23 | public ?string $expandCurieName = 'expand'; |
||
24 | |||
25 | /** |
||
26 | * @var array the configuration used to generate the expand curie. |
||
27 | */ |
||
28 | public array $expandCurieLink = [ |
||
29 | 'title' => 'Embeddable related resources.', |
||
30 | ]; |
||
31 | |||
32 | /** |
||
33 | * Return all the curies and related links. |
||
34 | * |
||
35 | * @return array the configured and autogenerated curies and related links. |
||
36 | */ |
||
37 | 9 | public function getCuriesLinks(): array |
|
61 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.