Skip to content

Commit

Permalink
Accept non-string values in response payload
Browse files Browse the repository at this point in the history
  • Loading branch information
Gijs Straathof committed Apr 1, 2021
1 parent bda1a15 commit 5a3ec57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function onAuthenticationSuccess(Request $request, TokenInterface $token)
/**
* Add fields to the response payload.
*/
public function addResponsePayload(string $key, string $value): void
public function addResponsePayload(string $key, $value): void
{
$this->responsePayload[$key] = $value;
}
Expand Down

0 comments on commit 5a3ec57

Please sign in to comment.