Conditions | 3 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
43 | public function __toString():string { |
||
44 | $script=""; |
||
45 | if(!empty($this->global)){ |
||
46 | foreach($this->global as $global){ |
||
47 | $script .= $global."\n"; |
||
48 | } |
||
49 | } |
||
50 | $script = JsUtils::cleanJSONFunctions($script); |
||
51 | $script = JavascriptUtils::wrapScript($script); |
||
52 | return $script; |
||
53 | } |
||
54 | } |