Classes/Cache/Rule/NoIntScripts.php
protected function getInformation($configuration): array
    {
        $info = [];
        if (isset($configuration['type'])) {
            $info[] = 'type: ' . $configuration['type'];
        }
        $check = [
            'userFunc',
            'includeLibs',
            'extensionName',
            'pluginName',
        ];
        foreach ($check as $value) {
            if (isset($configuration['conf'][$value])) {
                $info[] = $value . ': ' . $configuration['conf'][$value];
            }
        }

        return $info;
    }
protected function getInformation($configuration): array
    {
        $info = [];
        if (isset($configuration['type'])) {
            $info[] = 'type: ' . $configuration['type'];
        }
        $check = [
            'userFunc',
            'includeLibs',
            'extensionName',
            'pluginName',
        ];
        foreach ($check as $value) {
            if (isset($configuration['conf'][$value])) {
                $info[] = $value . ': ' . $configuration['conf'][$value];
            }
        }

        return $info;
    }
protected function getInformation ( $ configuration ) : array { $ info = [ ] ; if ( isset ( $ configuration [ 'type' ] ) ) { $ info [ ] = 'type: ' . $ configuration [ 'type' ] ; } $ check = [ 'userFunc' , 'includeLibs' , 'extensionName' , 'pluginName' , ] ; foreach ( $ check as $ value ) { if ( isset ( $ configuration [ 'conf' ] [ $ value ] ) ) { $ info [ ] = $ value . ': ' . $ configuration [ 'conf' ] [ $ value ] ; } } return $ info ; }
Get the debug information.

@param array $configuration

@return array
Get the debug information .