{"action":"created","issue":{"url":"https://api.github.com/repos/goaop/parser-reflection/issues/61","repository_url":"https://api.github.com/repos/goaop/parser-reflection","labels_url":"https://api.github.com/repos/goaop/parser-reflection/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/goaop/parser-reflection/issues/61/comments","events_url":"https://api.github.com/repos/goaop/parser-reflection/issues/61/events","html_url":"https://github.com/goaop/parser-reflection/issues/61","id":197915254,"number":61,"title":"Readme example code causes an error","user":{"login":"onet4","id":5302867,"avatar_url":"https://avatars.githubusercontent.com/u/5302867?v=3","gravatar_id":"","url":"https://api.github.com/users/onet4","html_url":"https://github.com/onet4","followers_url":"https://api.github.com/users/onet4/followers","following_url":"https://api.github.com/users/onet4/following{/other_user}","gists_url":"https://api.github.com/users/onet4/gists{/gist_id}","starred_url":"https://api.github.com/users/onet4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onet4/subscriptions","organizations_url":"https://api.github.com/users/onet4/orgs","repos_url":"https://api.github.com/users/onet4/repos","events_url":"https://api.github.com/users/onet4/events{/privacy}","received_events_url":"https://api.github.com/users/onet4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-28T20:59:17Z","updated_at":"2016-12-29T02:12:04Z","closed_at":null,"body":"It seems the usage example code in [README.md](https://github.com/goaop/parser-reflection/blob/1.1.0/README.md) has a glitch.\r\n\r\nThe line, `var_dump($fileNameSpaces[0]->getClass(SomeClass::class)->getMethods());`, causes the error `Fatal error: Call to a member function getClass() on null`. I guess a namespace name is set to the array key."},"comment":{"url":"https://api.github.com/repos/goaop/parser-reflection/issues/comments/269571687","html_url":"https://github.com/goaop/parser-reflection/issues/61#issuecomment-269571687","issue_url":"https://api.github.com/repos/goaop/parser-reflection/issues/61","id":269571687,"user":{"login":"onet4","id":5302867,"avatar_url":"https://avatars.githubusercontent.com/u/5302867?v=3","gravatar_id":"","url":"https://api.github.com/users/onet4","html_url":"https://github.com/onet4","followers_url":"https://api.github.com/users/onet4/followers","following_url":"https://api.github.com/users/onet4/following{/other_user}","gists_url":"https://api.github.com/users/onet4/gists{/gist_id}","starred_url":"https://api.github.com/users/onet4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/onet4/subscriptions","organizations_url":"https://api.github.com/users/onet4/orgs","repos_url":"https://api.github.com/users/onet4/repos","events_url":"https://api.github.com/users/onet4/events{/privacy}","received_events_url":"https://api.github.com/users/onet4/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T02:12:04Z","updated_at":"2016-12-29T02:12:04Z","body":"It seems `0` occurs when there is no namespace."}}
{"actor":{"display_login":"onet4"}}