Skip to content

Commit 38a74c3

Browse files
committed
CS Fiz
1 parent e66670a commit 38a74c3

2 files changed

Lines changed: 20 additions & 19 deletions

File tree

src/Resources/config/routing/all.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
<?php
22

3+
/*
4+
* This file is part of the Silverback API Components Bundle Project
5+
*
6+
* (c) Daniel West <daniel@silverback.is>
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
12+
declare(strict_types=1);
13+
314
namespace Symfony\Component\Routing\Loader\Configurator;
415

516
return static function (RoutingConfigurator $routes): void {
Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22

3-
declare(strict_types=1);
4-
53
/*
64
* This file is part of the Silverback API Components Bundle Project
75
*
@@ -11,53 +9,45 @@
119
* file that was distributed with this source code.
1210
*/
1311

12+
declare(strict_types=1);
13+
1414
namespace Symfony\Component\Routing\Loader\Configurator;
1515

1616
use Silverback\ApiComponentsBundle\Action\User\EmailAddressConfirmAction;
1717
use Silverback\ApiComponentsBundle\Action\User\PasswordRequestAction;
1818
use Silverback\ApiComponentsBundle\Action\User\ResendVerifyEmailAddressAction;
1919
use Silverback\ApiComponentsBundle\Action\User\ResendVerifyNewEmailAddressAction;
2020
use Silverback\ApiComponentsBundle\Action\User\VerifyEmailAddressAction;
21-
use Symfony\Component\Routing\Route;
22-
use Symfony\Component\Routing\RouteCollection;
2321

2422
return static function (RoutingConfigurator $routes): void {
2523
$routes
26-
->add('api_components_login_check', '/login')
27-
;
24+
->add('api_components_login_check', '/login');
2825

2926
$routes
30-
->add('api_components_logout', '/logout')
31-
;
27+
->add('api_components_logout', '/logout');
3228

3329
$routes
3430
->add('api_components_password_reset_request', '/password/reset/request/{username}')
3531
->methods(['GET'])
36-
->controller(PasswordRequestAction::class)
37-
;
32+
->controller(PasswordRequestAction::class);
3833

3934
$routes
4035
->add('api_components_confirm_email', '/confirm-email/{username}/{emailAddress}/{token}')
4136
->methods(['GET'])
42-
->controller(EmailAddressConfirmAction::class)
43-
;
37+
->controller(EmailAddressConfirmAction::class);
4438

4539
$routes
4640
->add('api_components_verify_email', '/verify-email/{username}/{token}')
4741
->methods(['GET'])
48-
->controller(VerifyEmailAddressAction::class)
49-
;
42+
->controller(VerifyEmailAddressAction::class);
5043

5144
$routes
5245
->add('api_components_resend_email_verification', '/verify-email/{username}/{token}')
5346
->methods(['GET'])
54-
->controller(ResendVerifyEmailAddressAction::class)
55-
;
47+
->controller(ResendVerifyEmailAddressAction::class);
5648

5749
$routes
5850
->add('api_components_resend_new_email_verification', '/resend-verify-new-email/{username}')
5951
->methods(['GET'])
60-
->controller(ResendVerifyNewEmailAddressAction::class)
61-
;
52+
->controller(ResendVerifyNewEmailAddressAction::class);
6253
};
63-

0 commit comments

Comments
 (0)