1 | <?php |
||
8 | class Tinymce extends NamedElement |
||
9 | { |
||
10 | protected $type = 'tinymce'; |
||
11 | |||
12 | protected $size = 'basic'; |
||
13 | |||
14 | protected $options = []; |
||
15 | |||
16 | protected $baseUrl; |
||
17 | |||
18 | protected $plugins; |
||
19 | |||
20 | public function basicToolbar() |
||
26 | |||
27 | public function simpleToolbar() |
||
33 | |||
34 | /** |
||
35 | * @param array $toolbar |
||
36 | * |
||
37 | * @return Tinymce |
||
38 | */ |
||
39 | public function setToolbar(array $toolbar) |
||
45 | |||
46 | /** |
||
47 | * @return mixed |
||
48 | */ |
||
49 | public function getBaseUrl() |
||
57 | |||
58 | /** |
||
59 | * @param mixed $baseUrl |
||
60 | * |
||
61 | * @return Tinymce |
||
62 | */ |
||
63 | public function setBaseUrl($baseUrl) |
||
69 | |||
70 | /** |
||
71 | * @return mixed |
||
72 | */ |
||
73 | public function getPlugins() |
||
77 | |||
78 | /** |
||
79 | * @param mixed $plugins |
||
80 | * |
||
81 | * @return Tinymce |
||
82 | */ |
||
83 | public function setPlugins($plugins) |
||
89 | |||
90 | /** |
||
91 | * @return mixed |
||
92 | */ |
||
93 | public function getOptions() |
||
97 | |||
98 | /** |
||
99 | * @param mixed $options |
||
100 | * |
||
101 | * @return Tinymce |
||
102 | */ |
||
103 | public function setOptions($options) |
||
109 | |||
110 | public function toArray() |
||
123 | } |
||
124 |
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..