1 | <?php |
||
24 | class Animate extends BaseAnimation implements FullyAnimatable, XLink, ExternalResourcesRequired, ConditionalProcessing |
||
25 | { |
||
26 | /** |
||
27 | * Animate constructor. |
||
28 | * |
||
29 | * @param ElementInterface $parent |
||
30 | * @param string $attributeName |
||
31 | * @param float $from |
||
32 | * @param float $to |
||
33 | * @param string $dur |
||
34 | * @param string $attributeType |
||
35 | * @param int|string $repeatCount |
||
|
|||
36 | */ |
||
37 | 2 | public function __construct(ElementInterface $parent, $attributeName, $from, $to, $dur, $attributeType = 'auto', $repeatCount = null) |
|
50 | |||
51 | 2 | public function getName() |
|
55 | } |
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.