private function overwriteTemplates(array $configuration): array
    {
        if (isset($this->options['template']) && $this->options['template']) {
            $configuration['phpdocumentor']['templates'] = array_map(
                function ($templateName) {
                    return ['name' => $templateName];
                },
                (array)$this->options['template']
            );
        }

        return $configuration;
    }
private function overwriteTemplates(array $configuration): array
    {
        if (isset($this->options['template']) && $this->options['template']) {
            $configuration['phpdocumentor']['templates'] = array_map(
                function ($templateName) {
                    return ['name' => $templateName];
                },
                (array)$this->options['template']
            );
        }

        return $configuration;
    }
private function overwriteTemplates ( array $ configuration ) : array { if ( isset ( $ this -> options [ 'template' ] ) && $ this -> options [ 'template' ] ) { $ configuration [ 'phpdocumentor' ] [ 'templates' ] = array_map ( function ( $ templateName ) { return [ 'name' => $ templateName ] ; } , ( array ) $ this -> options [ 'template' ] ) ; } return $ configuration ; }
Changes the given configuration array to feature the templates from the options.
Changes the given configuration array to feature the templates from the options .