{"action":"created","issue":{"url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/186","labels_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/186/comments","events_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/186/events","html_url":"https://github.com/barryvdh/laravel-ide-helper/issues/186","id":63205889,"number":186,"title":"Meta completion not working with ::class","user":{"login":"Anahkiasen","id":1321596,"avatar_url":"https://avatars.githubusercontent.com/u/1321596?v=3","gravatar_id":"","url":"https://api.github.com/users/Anahkiasen","html_url":"https://github.com/Anahkiasen","followers_url":"https://api.github.com/users/Anahkiasen/followers","following_url":"https://api.github.com/users/Anahkiasen/following{/other_user}","gists_url":"https://api.github.com/users/Anahkiasen/gists{/gist_id}","starred_url":"https://api.github.com/users/Anahkiasen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anahkiasen/subscriptions","organizations_url":"https://api.github.com/users/Anahkiasen/orgs","repos_url":"https://api.github.com/users/Anahkiasen/repos","events_url":"https://api.github.com/users/Anahkiasen/events{/privacy}","received_events_url":"https://api.github.com/users/Anahkiasen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-20T10:32:21Z","updated_at":"2015-05-06T11:16:11Z","closed_at":null,"body":"If I do this in my code:\r\n\r\n```php\r\nuse Foo\\Bar;\r\n\r\n$test = app(Bar::class);\r\n```\r\n\r\nAnd generate the meta completion, I get this generated in the meta file:\r\n\r\n```php\r\n'Foo\\Bar' instanceof \\Foo\\Bar,\r\n```\r\n\r\nHowever as PHPStorm seem to match the arguments exactly, no autocompletion is added, because PHPStorm will now look for `app('Foo\\Bar')`. If I use the latter I do get the autocompletion, if I use `::class` I don't"},"comment":{"url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/comments/99420754","html_url":"https://github.com/barryvdh/laravel-ide-helper/issues/186#issuecomment-99420754","issue_url":"https://api.github.com/repos/barryvdh/laravel-ide-helper/issues/186","id":99420754,"user":{"login":"barryvdh","id":973269,"avatar_url":"https://avatars.githubusercontent.com/u/973269?v=3","gravatar_id":"","url":"https://api.github.com/users/barryvdh","html_url":"https://github.com/barryvdh","followers_url":"https://api.github.com/users/barryvdh/followers","following_url":"https://api.github.com/users/barryvdh/following{/other_user}","gists_url":"https://api.github.com/users/barryvdh/gists{/gist_id}","starred_url":"https://api.github.com/users/barryvdh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryvdh/subscriptions","organizations_url":"https://api.github.com/users/barryvdh/orgs","repos_url":"https://api.github.com/users/barryvdh/repos","events_url":"https://api.github.com/users/barryvdh/events{/privacy}","received_events_url":"https://api.github.com/users/barryvdh/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T11:16:11Z","updated_at":"2015-05-06T11:16:11Z","body":"https://github.com/barryvdh/laravel-ide-helper/blob/master/src/Console/MetaCommand.php\r\nhttps://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Advanced+Metadata\r\n\r\nA meta-file to describe the container instances, for phpstorm.\r\n\r\nBut I think this is a PhpStorm issue, not much I can do with that. Or do you have a suggestion to fix this @Anahkiasen ?"}}