1 | <?php |
||
14 | class ProgramDateTimeTag extends AbstractTag |
||
15 | { |
||
16 | use SingleValueTagTrait; |
||
17 | |||
18 | const TAG_IDENTIFIER = '#EXT-X-PROGRAM-DATE-TIME'; |
||
19 | |||
20 | /** |
||
21 | * @var string Absolute date and/or time of the first sample of the Media Segment in ISO_8601 format |
||
22 | */ |
||
23 | private $programDateTime; |
||
24 | |||
25 | /** |
||
26 | * @param \DateTime $programDateTime |
||
27 | * |
||
28 | * @return self |
||
29 | */ |
||
30 | 1 | public function setProgramDateTime(\DateTime $programDateTime) |
|
36 | |||
37 | /** |
||
38 | * @return \DateTime |
||
39 | */ |
||
40 | 1 | public function getProgramDateTime() |
|
44 | |||
45 | /** |
||
46 | * @return string |
||
47 | */ |
||
48 | 1 | public function dump() |
|
62 | |||
63 | /** |
||
64 | * @param string $line |
||
65 | */ |
||
66 | 1 | protected function read($line) |
|
70 | } |
||
71 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..