1 | <?php |
||
29 | class ColladaModelComponent extends ComponentAbstract implements ColladaModelInterface |
||
30 | { |
||
31 | /** |
||
32 | * Initialize Component |
||
33 | * |
||
34 | * {@inheritdoc} |
||
35 | * |
||
36 | * @return bool |
||
37 | */ |
||
38 | 3 | public function initializeComponent(): bool |
|
43 | |||
44 | /** |
||
45 | * pointing to an asset that specifies the src or url() |
||
46 | * |
||
47 | * {@inheritdoc} |
||
48 | * |
||
49 | * @param string $src |
||
|
|||
50 | */ |
||
51 | 3 | public function src( string $src = null) |
|
55 | |||
56 | /** |
||
57 | * Return DOM attribute contents |
||
58 | * |
||
59 | * @return string |
||
60 | */ |
||
61 | 2 | public function getDomAttributeString(): string |
|
68 | } |
||
69 |
This check looks for
@param
annotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.