1 | <?php |
||
9 | class TableConverter implements ConverterInterface, PreConverterInterface, ConfigurationAwareInterface |
||
10 | { |
||
11 | /** |
||
12 | * @var Configuration |
||
13 | */ |
||
14 | protected $config; |
||
15 | |||
16 | /** |
||
17 | * @param Configuration $config |
||
18 | */ |
||
19 | 3 | public function setConfig(Configuration $config) |
|
23 | |||
24 | /** |
||
25 | * @var array |
||
26 | */ |
||
27 | private static $alignments = array( |
||
28 | 'left' => ':--', |
||
29 | 'right' => '--:', |
||
30 | 'center' => ':-:', |
||
31 | ); |
||
32 | |||
33 | /** |
||
34 | * @var array |
||
35 | */ |
||
36 | private $columnAlignments = array(); |
||
37 | |||
38 | /** |
||
39 | * @var str |
||
40 | */ |
||
41 | private $caption = null; |
||
42 | |||
43 | /** |
||
44 | * @param ElementInterface $element |
||
45 | * |
||
46 | * @return void |
||
47 | */ |
||
48 | 3 | public function preConvert(ElementInterface $element) |
|
61 | |||
62 | /** |
||
63 | * @param ElementInterface $element |
||
64 | * |
||
65 | * @return string |
||
66 | */ |
||
67 | 3 | public function convert(ElementInterface $element) |
|
111 | |||
112 | /** |
||
113 | * @return string[] |
||
114 | */ |
||
115 | 3 | public function getSupportedTags() |
|
119 | } |
||
120 |
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..