{"action":"created","issue":{"url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/299","repository_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle","labels_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/299/comments","events_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/299/events","html_url":"https://github.com/sonata-project/SonataClassificationBundle/pull/299","id":217427805,"node_id":"MDExOlB1bGxSZXF1ZXN0MTEyODc2MjQ5","number":299,"title":"Fix CategoryManager methods params types","user":{"login":"ZRazor","id":1560126,"node_id":"MDQ6VXNlcjE1NjAxMjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1560126?v=4","gravatar_id":"","url":"https://api.github.com/users/ZRazor","html_url":"https://github.com/ZRazor","followers_url":"https://api.github.com/users/ZRazor/followers","following_url":"https://api.github.com/users/ZRazor/following{/other_user}","gists_url":"https://api.github.com/users/ZRazor/gists{/gist_id}","starred_url":"https://api.github.com/users/ZRazor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZRazor/subscriptions","organizations_url":"https://api.github.com/users/ZRazor/orgs","repos_url":"https://api.github.com/users/ZRazor/repos","events_url":"https://api.github.com/users/ZRazor/events{/privacy}","received_events_url":"https://api.github.com/users/ZRazor/received_events","type":"User","site_admin":false},"labels":[{"id":369793036,"node_id":"MDU6TGFiZWwzNjk3OTMwMzY=","url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/labels/patch","name":"patch","color":"207de5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-28T02:12:36Z","updated_at":"2018-11-26T09:00:25Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/pulls/299","html_url":"https://github.com/sonata-project/SonataClassificationBundle/pull/299","diff_url":"https://github.com/sonata-project/SonataClassificationBundle/pull/299.diff","patch_url":"https://github.com/sonata-project/SonataClassificationBundle/pull/299.patch"},"body":"I am targeting this branch, because it's a bug fix.\r\n\r\n## Changelog\r\n\r\n```markdown\r\n### Fixed\r\n- Fixed `CategoryManager::getRootCategoriesForContext` to accept string codes of contexts\r\n```\r\n\r\n## Subject\r\n\r\nMethods in `CategoryManager`, which have inside this line `$context = $this->getContext($context);` can accept not just instances of `ContextInterface`, but also string codes of contexts. For example:\r\n`->categoryManager->getRootCategoriesForContext('product_catalog');`"},"comment":{"url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/comments/441564391","html_url":"https://github.com/sonata-project/SonataClassificationBundle/pull/299#issuecomment-441564391","issue_url":"https://api.github.com/repos/sonata-project/SonataClassificationBundle/issues/299","id":441564391,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTU2NDM5MQ==","user":{"login":"SonataCI","id":12843093,"node_id":"MDQ6VXNlcjEyODQzMDkz","avatar_url":"https://avatars1.githubusercontent.com/u/12843093?v=4","gravatar_id":"","url":"https://api.github.com/users/SonataCI","html_url":"https://github.com/SonataCI","followers_url":"https://api.github.com/users/SonataCI/followers","following_url":"https://api.github.com/users/SonataCI/following{/other_user}","gists_url":"https://api.github.com/users/SonataCI/gists{/gist_id}","starred_url":"https://api.github.com/users/SonataCI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonataCI/subscriptions","organizations_url":"https://api.github.com/users/SonataCI/orgs","repos_url":"https://api.github.com/users/SonataCI/repos","events_url":"https://api.github.com/users/SonataCI/events{/privacy}","received_events_url":"https://api.github.com/users/SonataCI/received_events","type":"User","site_admin":false},"created_at":"2018-11-26T09:00:25Z","updated_at":"2018-11-26T09:00:25Z","author_association":"COLLABORATOR","body":"Could you please rebase your PR and fix merge conflicts?"}}
{"actor":{"display_login":"SonataCI"}}