{"action":"opened","issue":{"url":"https://api.github.com/repos/Fritak/messenger-platform/issues/18","repository_url":"https://api.github.com/repos/Fritak/messenger-platform","labels_url":"https://api.github.com/repos/Fritak/messenger-platform/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Fritak/messenger-platform/issues/18/comments","events_url":"https://api.github.com/repos/Fritak/messenger-platform/issues/18/events","html_url":"https://github.com/Fritak/messenger-platform/issues/18","id":152199982,"number":18,"title":"PHPdoc annotations","user":{"login":"achimha","id":6816140,"avatar_url":"https://avatars.githubusercontent.com/u/6816140?v=3","gravatar_id":"","url":"https://api.github.com/users/achimha","html_url":"https://github.com/achimha","followers_url":"https://api.github.com/users/achimha/followers","following_url":"https://api.github.com/users/achimha/following{/other_user}","gists_url":"https://api.github.com/users/achimha/gists{/gist_id}","starred_url":"https://api.github.com/users/achimha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/achimha/subscriptions","organizations_url":"https://api.github.com/users/achimha/orgs","repos_url":"https://api.github.com/users/achimha/repos","events_url":"https://api.github.com/users/achimha/events{/privacy}","received_events_url":"https://api.github.com/users/achimha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-01T13:42:54Z","updated_at":"2016-05-01T13:42:54Z","closed_at":null,"body":"Given that you're actively working on it, I thought I'd better ask before sending a pull request.\r\n\r\nThe PHPdoc is incorrect in a lot of places which makes an IDE like PhpStorm spit out a lot of warnings. The issues mainly are:\r\n\r\n- namespace references are often fritak\\* whereas they should be \\fritak\\* with a leading backslash, otherwise a consumer with its own namespace will not work correctly\r\n\r\n- missing @param/@return in constructors\r\n\r\n- sender parameter should be int|\\fritak\\MessengerPlatform\\UserRecipient like given in the description below\r\n\r\n- what is \"public function sendComplexMeesage($message)\"? I suppose a spelling mistake?"}}