Skip to content

Commit f97706d

Browse files
committed
update php slim samples
1 parent b7a4a47 commit f97706d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

samples/server/petstore/php-slim4/lib/App/RegisterRoutes.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -914,19 +914,19 @@ public function __invoke(\Slim\App $app): void
914914
'header' => $authMethod['keyParamName'],
915915
'parameter' => null,
916916
'cookie' => null,
917-
]
917+
];
918918
} else if ($authMethod['isKeyInQuery']) {
919919
$authenticatorConfig = [
920920
'header' => null,
921921
'parameter' => $authMethod['keyParamName'],
922922
'cookie' => null,
923-
]
923+
];
924924
} else if ($authMethod['isKeyInCookie']) {
925925
$authenticatorConfig = [
926926
'header' => null,
927927
'parameter' => null,
928928
'cookie' => $authMethod['keyParamName'],
929-
]
929+
];
930930
}
931931
$route->add(new TokenAuthentication($authenticatorConfig));
932932
}

0 commit comments

Comments
 (0)