pimcore / personalization-bundle

Personalization community bundle provides personalization features such as behavioral targeting, visitor profiling and personalized content for Pimcore.
https://pimcore.com/docs/platform/Targeting/
Other
2 stars 7 forks source link

Remove useless call to `$builder->getToken()` in `JWTCookieSaveHandler::createTokenBuilder()` #62

Closed jdreesen closed 11 months ago

jdreesen commented 11 months ago

The return value of the removed line was not used, so it was useless.

The method is creating the token builder and the calling method then gets the token from it, see: https://github.com/pimcore/personalization-bundle/blob/8e63a44eb3af6526088bbd70bd65f7beabe9b88e/src/Targeting/Storage/Cookie/JWTCookieSaveHandler.php#L101