1 | <?php |
||
18 | class PulseColumnTextValue extends PulseColumnValue |
||
19 | { |
||
20 | /** |
||
21 | * Get a text column's content |
||
22 | * |
||
23 | * @api |
||
24 | * |
||
25 | * @since 0.4.0 ColumnNotFoundException is now thrown |
||
26 | * @since 0.1.0 |
||
27 | * |
||
28 | * @throws ColumnNotFoundException The specified column ID does not exist for the parent Pulse |
||
29 | * |
||
30 | * @return string|null The column's content |
||
31 | */ |
||
32 | 2 | public function getValue () |
|
36 | |||
37 | /** |
||
38 | * Update the text of a text column |
||
39 | * |
||
40 | * @api |
||
41 | * |
||
42 | * @param string $text |
||
43 | * |
||
44 | * @since 0.3.0 \InvalidArgumentException is now thrown |
||
45 | * @since 0.1.0 |
||
46 | * |
||
47 | * @throws \InvalidArgumentException if $text does not have a string representation |
||
48 | */ |
||
49 | 3 | public function updateValue ($text) |
|
66 | |||
67 | 2 | protected function setValue ($response) |
|
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..