Completed
Push — master ( 4fd5ad...947ba3 )
by Neomerx
04:05
created
src/Package/BasePassportContainerConfigurator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     protected static function baseConfigureContainer(LimoncelloContainerInterface $container): void
44 44
     {
45 45
         $accountManager = null;
46
-        $factory        = function (PsrContainerInterface $container) use (&$accountManager) {
46
+        $factory        = function(PsrContainerInterface $container) use (&$accountManager) {
47 47
             if ($accountManager === null) {
48 48
                 $accountManager = new AccountManager($container);
49 49
             }
@@ -53,13 +53,13 @@  discard block
 block discarded – undo
53 53
         $container[AccountManagerInterface::class]         = $factory;
54 54
         $container[PassportAccountManagerInterface::class] = $factory;
55 55
 
56
-        $container[DatabaseSchemeInterface::class] = function (PsrContainerInterface $container) {
56
+        $container[DatabaseSchemeInterface::class] = function(PsrContainerInterface $container) {
57 57
             $settings = $container->get(SettingsProviderInterface::class)->get(C::class);
58 58
 
59 59
             return new DatabaseScheme($settings[C::KEY_USER_TABLE_NAME], $settings[C::KEY_USER_PRIMARY_KEY_NAME]);
60 60
         };
61 61
 
62
-        $container[PassportServerInterface::class] = function (PsrContainerInterface $container) {
62
+        $container[PassportServerInterface::class] = function(PsrContainerInterface $container) {
63 63
             $integration    = $container->get(PassportServerIntegrationInterface::class);
64 64
             $passportServer = new PassportServer($integration);
65 65
 
Please login to merge, or discard this patch.
src/Package/PassportRoutesConfigurator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public static function configureRoutes(GroupInterface $routes): void
40 40
     {
41
-        $routes->group(static::GROUP_PREFIX, function (GroupInterface $group) {
41
+        $routes->group(static::GROUP_PREFIX, function(GroupInterface $group) {
42 42
             $group->get(static::AUTHORIZE_URI, PassportController::AUTHORIZE_HANDLER);
43 43
             $group->post(static::TOKEN_URI, PassportController::TOKEN_HANDLER);
44 44
         });
Please login to merge, or discard this patch.