{"action":"created","issue":{"url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/1210","repository_url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin","labels_url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/1210/labels{/name}","comments_url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/1210/comments","events_url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/1210/events","html_url":"https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/1210","id":345762614,"node_id":"MDU6SXNzdWUzNDU3NjI2MTQ=","number":1210,"title":"\"Provided instance of service id does not match argument\" does consider factory","user":{"login":"nCrazed","id":507466,"node_id":"MDQ6VXNlcjUwNzQ2Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/507466?v=4","gravatar_id":"","url":"https://api.github.com/users/nCrazed","html_url":"https://github.com/nCrazed","followers_url":"https://api.github.com/users/nCrazed/followers","following_url":"https://api.github.com/users/nCrazed/following{/other_user}","gists_url":"https://api.github.com/users/nCrazed/gists{/gist_id}","starred_url":"https://api.github.com/users/nCrazed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nCrazed/subscriptions","organizations_url":"https://api.github.com/users/nCrazed/orgs","repos_url":"https://api.github.com/users/nCrazed/repos","events_url":"https://api.github.com/users/nCrazed/events{/privacy}","received_events_url":"https://api.github.com/users/nCrazed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-30T13:40:34Z","updated_at":"2018-07-30T13:42:12Z","closed_at":null,"author_association":"NONE","body":"I have a service that is configured to be created from a non-static factory method with additional arguments.\r\n\r\n```yaml\r\ncomplex_service:\r\n    class: AppBundle\\Module\\Service # __construct(A $a, B $b)\r\n    factory: 'AppBundle\\Factory:namedFactoryMethod' # function namedFactoryMethod(C $c, D $d)\r\n    arguments: ['@AppBundle\\Module\\C', '@AppBundle\\Module\\D']\r\n```\r\nThis yields the following warnings for the C and D arguments respectively:\r\n\r\n* `Expect instance of: AppBundle\\Module\\A`\r\n* `Expect instance of: AppBundle\\Module\\B`\r\n\r\n\r\n**Symfony:** 3.4.11\r\n**Plugin:** 0.16.165\r\n**PHPStorm:** 2018.2"},"comment":{"url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/comments/408867427","html_url":"https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/1210#issuecomment-408867427","issue_url":"https://api.github.com/repos/Haehnchen/idea-php-symfony2-plugin/issues/1210","id":408867427,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODg2NzQyNw==","user":{"login":"nCrazed","id":507466,"node_id":"MDQ6VXNlcjUwNzQ2Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/507466?v=4","gravatar_id":"","url":"https://api.github.com/users/nCrazed","html_url":"https://github.com/nCrazed","followers_url":"https://api.github.com/users/nCrazed/followers","following_url":"https://api.github.com/users/nCrazed/following{/other_user}","gists_url":"https://api.github.com/users/nCrazed/gists{/gist_id}","starred_url":"https://api.github.com/users/nCrazed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nCrazed/subscriptions","organizations_url":"https://api.github.com/users/nCrazed/orgs","repos_url":"https://api.github.com/users/nCrazed/repos","events_url":"https://api.github.com/users/nCrazed/events{/privacy}","received_events_url":"https://api.github.com/users/nCrazed/received_events","type":"User","site_admin":false},"created_at":"2018-07-30T13:42:11Z","updated_at":"2018-07-30T13:42:11Z","author_association":"NONE","body":"Looks like this might be a duplicate of #616"}}
{"actor":{"display_login":"nCrazed"}}