Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Nov 26, 2024
1 parent e841766 commit 4f2f052
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/routes.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<?php

declare(strict_types=1);

use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator;
use Terminal42\NotificationCenterBundle\BulkyItem\BulkyItemStorage;
use Terminal42\NotificationCenterBundle\Controller\DownloadBulkyItemController;

return function (RoutingConfigurator $routes): void {
return static function (RoutingConfigurator $routes): void {
$routes->add('nc_bulky_item_download', '/notifications/download/{voucher}')
->controller(DownloadBulkyItemController::class)
->requirements(['voucher' => BulkyItemStorage::VOUCHER_REGEX])
Expand Down
1 change: 0 additions & 1 deletion src/ContaoManager/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Contao\ManagerPlugin\Routing\RoutingPluginInterface;
use Symfony\Component\Config\Loader\LoaderResolverInterface;
use Symfony\Component\HttpKernel\KernelInterface;
use Terminal42\NotificationCenterBundle\Controller\DownloadBulkyItemController;
use Terminal42\NotificationCenterBundle\Terminal42NotificationCenterBundle;

class Plugin implements BundlePluginInterface, RoutingPluginInterface
Expand Down

0 comments on commit 4f2f052

Please sign in to comment.