code cosmetic

This commit is contained in:
2023-04-25 15:09:11 +02:00
parent 1b28f3d45a
commit bb25f93ef1
4 changed files with 8 additions and 15 deletions

View File

@@ -1,6 +1,4 @@
<?php
declare(strict_types=1);
<?php declare(strict_types=1);
namespace Magdev\RedmineBundle\DependencyInjection;
@@ -14,7 +12,7 @@ final class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('magdev_gitea');
$treeBuilder = new TreeBuilder('magdev_redmine');
$rootNode = $treeBuilder->getRootNode();
$rootNode->fixXmlConfig('connection')
->children()
@@ -25,11 +23,11 @@ final class Configuration implements ConfigurationInterface
->children()
->scalarNode('baseurl')
->isRequired()
->info('The base URL of the gitea instance')
->info('The base URL of your redmine instance')
->end()
->scalarNode('token')
->scalarNode('apikey')
->isRequired()
->info('The Gitea access token')
->info('Your Redmine API-Key')
->end()
->end()
->end()

View File

@@ -1,5 +1,4 @@
<?php
declare(strict_types=1);
<?php declare(strict_types=1);
namespace Magdev\RedmineBundle\DependencyInjection;