Total Complexity | 4 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
17 | class Ide extends Field |
||
18 | { |
||
19 | /** |
||
20 | * @inheritdoc |
||
21 | */ |
||
22 | public $ddsDataType = 'textlong'; |
||
23 | |||
24 | /** |
||
25 | * Array (js object) of editor config options |
||
26 | * @see https://github.com/ajaxorg/ace/wiki/Configuring-Ace |
||
27 | * @var array |
||
28 | */ |
||
29 | public $editorOptions = []; |
||
30 | |||
31 | /** |
||
32 | * @inheritdoc |
||
33 | */ |
||
34 | public function getProperties() |
||
35 | { |
||
36 | return array_merge(parent::getProperties(), ["editorOptions"]); |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @inheritdoc |
||
41 | */ |
||
42 | public function getValue() |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * Register scripts |
||
50 | * @param \neon\core\web\View $view |
||
51 | */ |
||
52 | public function registerScripts($view) |
||
55 | } |
||
56 | |||
57 | /** |
||
58 | * @inheritdoc |
||
59 | */ |
||
60 | public function getComponentDetails() |
||
70 |
This check looks for function or method calls that always return null and whose return value is used.
The method
getObject()
can return nothing but null, so it makes no sense to use the return value.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.