{"action":"opened","issue":{"url":"https://api.github.com/repos/snc/SncRedisBundle/issues/442","repository_url":"https://api.github.com/repos/snc/SncRedisBundle","labels_url":"https://api.github.com/repos/snc/SncRedisBundle/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/snc/SncRedisBundle/issues/442/comments","events_url":"https://api.github.com/repos/snc/SncRedisBundle/issues/442/events","html_url":"https://github.com/snc/SncRedisBundle/issues/442","id":343077202,"node_id":"MDU6SXNzdWUzNDMwNzcyMDI=","number":442,"title":"2.1.5 (lazy loading) somehow breaks set method","user":{"login":"sawmurai","id":6454986,"node_id":"MDQ6VXNlcjY0NTQ5ODY=","avatar_url":"https://avatars1.githubusercontent.com/u/6454986?v=4","gravatar_id":"","url":"https://api.github.com/users/sawmurai","html_url":"https://github.com/sawmurai","followers_url":"https://api.github.com/users/sawmurai/followers","following_url":"https://api.github.com/users/sawmurai/following{/other_user}","gists_url":"https://api.github.com/users/sawmurai/gists{/gist_id}","starred_url":"https://api.github.com/users/sawmurai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sawmurai/subscriptions","organizations_url":"https://api.github.com/users/sawmurai/orgs","repos_url":"https://api.github.com/users/sawmurai/repos","events_url":"https://api.github.com/users/sawmurai/events{/privacy}","received_events_url":"https://api.github.com/users/sawmurai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-20T11:45:20Z","updated_at":"2018-07-20T11:45:20Z","closed_at":null,"author_association":"NONE","body":"Hey guys,\r\n\r\nthe lazy-loading introduced with the latest patch somehow seems to break the `set` method. \r\n\r\nWhen calling it, the following error pops up:\r\n\r\n```\r\nRedis::set() expects at most 3 parameters, 4 given\r\n```\r\n\r\nalthough it gets called with 3 parameters (in a controller):\r\n\r\n```php\r\n    private function setRefreshTokenCachedResponse(Request $request, Response $response)\r\n    {\r\n        $redis = $this->container->get('snc_redis.session');\r\n        $redis->set(\r\n            $request->get('refresh_token'),\r\n            $response->getContent(),\r\n            self::REFRESH_TOKEN_RESPONSE_CACHE_LIFETIME\r\n        );\r\n    }\r\n```"}}
{"actor":{"display_login":"sawmurai"}}