1 | <?php |
||
5 | class Tinymce extends NamedElement |
||
6 | { |
||
7 | protected $type = 'tinymce'; |
||
8 | |||
9 | protected $size = 'basic'; |
||
10 | |||
11 | protected $options = []; |
||
12 | |||
13 | protected $baseUrl; |
||
14 | |||
15 | protected $plugins; |
||
16 | |||
17 | public function basicToolbar() |
||
23 | |||
24 | public function simpleToolbar() |
||
30 | |||
31 | /** |
||
32 | * @param array $toolbar |
||
33 | * |
||
34 | * @return Tinymce |
||
35 | */ |
||
36 | public function setToolbar(array $toolbar) |
||
42 | |||
43 | /** |
||
44 | * @return mixed |
||
45 | */ |
||
46 | public function getBaseUrl() |
||
53 | |||
54 | /** |
||
55 | * @param mixed $baseUrl |
||
56 | * |
||
57 | * @return Tinymce |
||
58 | */ |
||
59 | public function setBaseUrl($baseUrl) |
||
65 | |||
66 | /** |
||
67 | * @return mixed |
||
68 | */ |
||
69 | public function getPlugins() |
||
73 | |||
74 | /** |
||
75 | * @param mixed $plugins |
||
76 | * |
||
77 | * @return Tinymce |
||
78 | */ |
||
79 | public function setPlugins($plugins) |
||
85 | |||
86 | /** |
||
87 | * @return mixed |
||
88 | */ |
||
89 | public function getOptions() |
||
93 | |||
94 | /** |
||
95 | * @param mixed $options |
||
96 | * |
||
97 | * @return Tinymce |
||
98 | */ |
||
99 | public function setOptions($options) |
||
105 | |||
106 | public function toArray() |
||
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..