Skip to content

Commit 4949554

Browse files
committed
added string casts - followup of #184
1 parent f37a994 commit 4949554

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Security/OAuth/AccountConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ protected function addTokenData(OAuthTokenInterface $token, OAuthToken $response
217217
$value = $this->encryptionService->encrypt($value);
218218
}
219219

220-
$token->$setter($value);
220+
$token->$setter((string)$value);
221221
}
222222
}
223223

0 commit comments

Comments
 (0)