Skip to content

Commit

Permalink
Apply coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Sep 13, 2024
1 parent ecf497f commit 7f21890
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 3 deletions.
11 changes: 10 additions & 1 deletion src/AdminUi/config/services.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Symfony\Component\DependencyInjection\Loader\Configurator;
Expand All @@ -21,7 +30,7 @@
->decorate('twig_hooks.factory.hookable_metadata')
->args([
service('.inner'),
param('sylius_admin_ui.routing')
param('sylius_admin_ui.routing'),
])
;
};
9 changes: 9 additions & 0 deletions src/AdminUi/src/Knp/Menu/MenuBuilder.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\AdminUi\Knp\Menu;
Expand Down
9 changes: 9 additions & 0 deletions src/AdminUi/src/Knp/Menu/MenuBuilderInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\AdminUi\Knp\Menu;
Expand Down
10 changes: 9 additions & 1 deletion src/AdminUi/src/Symfony/SyliusAdminUiBundle.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\AdminUi\Symfony;
Expand Down Expand Up @@ -38,5 +47,4 @@ public function configure(DefinitionConfigurator $definition): void
->end()
;
}

}
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
<?php

/*
* This file is part of the Sylius package.
*
* (c) Sylius Sp. z o.o.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/

declare(strict_types=1);

namespace Sylius\AdminUi\TwigHooks\Hookable\Metadata;
Expand All @@ -18,7 +27,7 @@ public function __construct(
) {
}

public function create(HookMetadata $hookMetadata, DataBagInterface $context, ScalarDataBagInterface $configuration, array $prefixes = [],): HookableMetadata
public function create(HookMetadata $hookMetadata, DataBagInterface $context, ScalarDataBagInterface $configuration, array $prefixes = []): HookableMetadata
{
$context['routing'] = $this->routing;

Expand Down

0 comments on commit 7f21890

Please sign in to comment.