Skip to content

Commit a760613

Browse files
authored
Syntax error in documentation example
Added curly brace where it was missing in code example
1 parent da156dd commit a760613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/api_key_authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ current URL is before creating the token in ``createToken()``::
593593
// set the only URL where we should look for auth information
594594
// and only return the token if we're at that URL
595595
$targetUrl = '/login/check';
596-
if ($request->getPathInfo() !== $targetUrl)
596+
if ($request->getPathInfo() !== $targetUrl) {
597597
return;
598598
}
599599

0 commit comments

Comments
 (0)