| Total Complexity | 4 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 4 | class JsUtils{ |
||
| 5 | static private array $removeQuote = ["start"=>"!!%","end"=>"%!!"]; |
||
| 6 | 2 | ||
| 7 | 2 | public static function cleanJSONFunctions(string $json):string { |
|
| 10 | } |
||
| 11 | |||
| 12 | 2 | public static function removeQuotes(string $body):string{ |
|
| 14 | } |
||
| 15 | |||
| 16 | public static function generateFunction(string $body, array $params = [], bool $needRemoveQuote = true):string { |
||
| 24 |