{"action":"created","issue":{"url":"https://api.github.com/repos/algolia/algoliasearch-client-php/issues/62","repository_url":"https://api.github.com/repos/algolia/algoliasearch-client-php","labels_url":"https://api.github.com/repos/algolia/algoliasearch-client-php/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-php/issues/62/comments","events_url":"https://api.github.com/repos/algolia/algoliasearch-client-php/issues/62/events","html_url":"https://github.com/algolia/algoliasearch-client-php/pull/62","id":136190831,"number":62,"title":"Refactoring, mainly docblocks and CS.","user":{"login":"rayrutjes","id":5570853,"avatar_url":"https://avatars.githubusercontent.com/u/5570853?v=3","gravatar_id":"","url":"https://api.github.com/users/rayrutjes","html_url":"https://github.com/rayrutjes","followers_url":"https://api.github.com/users/rayrutjes/followers","following_url":"https://api.github.com/users/rayrutjes/following{/other_user}","gists_url":"https://api.github.com/users/rayrutjes/gists{/gist_id}","starred_url":"https://api.github.com/users/rayrutjes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayrutjes/subscriptions","organizations_url":"https://api.github.com/users/rayrutjes/orgs","repos_url":"https://api.github.com/users/rayrutjes/repos","events_url":"https://api.github.com/users/rayrutjes/events{/privacy}","received_events_url":"https://api.github.com/users/rayrutjes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-02-24T21:25:39Z","updated_at":"2016-03-02T18:49:08Z","closed_at":"2016-03-02T18:48:29Z","pull_request":{"url":"https://api.github.com/repos/algolia/algoliasearch-client-php/pulls/62","html_url":"https://github.com/algolia/algoliasearch-client-php/pull/62","diff_url":"https://github.com/algolia/algoliasearch-client-php/pull/62.diff","patch_url":"https://github.com/algolia/algoliasearch-client-php/pull/62.patch"},"body":"Started correcting some docblocks, and refactored some small pieces.\r\n\r\nPlease note that I have not a deep understanding of the behaviour of this client yet, so please tell me if some changes may break something. Hope the tests will catch problems though.\r\n\r\n- [x] Run php-cs-fixer and add a basic .php_cs config\r\n- [x] Add missing return tags\r\n- [x] Enhance the docblocks \r\n- [x] Use more fine grained params and return types\r\n- [x] Try to refactor some pieces of code that are repeated a lot\r\n- [x] Better format long docblocks\r\n\r\nDo you guys see any interest in these adjustments if they do not introduce BC issues?\r\n\r\nPlease react on the changes so I can adjust the PR.\r\n\r\nFixes #32 "},"comment":{"url":"https://api.github.com/repos/algolia/algoliasearch-client-php/issues/comments/191368804","html_url":"https://github.com/algolia/algoliasearch-client-php/pull/62#issuecomment-191368804","issue_url":"https://api.github.com/repos/algolia/algoliasearch-client-php/issues/62","id":191368804,"user":{"login":"maxiloc","id":1689007,"avatar_url":"https://avatars.githubusercontent.com/u/1689007?v=3","gravatar_id":"","url":"https://api.github.com/users/maxiloc","html_url":"https://github.com/maxiloc","followers_url":"https://api.github.com/users/maxiloc/followers","following_url":"https://api.github.com/users/maxiloc/following{/other_user}","gists_url":"https://api.github.com/users/maxiloc/gists{/gist_id}","starred_url":"https://api.github.com/users/maxiloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxiloc/subscriptions","organizations_url":"https://api.github.com/users/maxiloc/orgs","repos_url":"https://api.github.com/users/maxiloc/repos","events_url":"https://api.github.com/users/maxiloc/events{/privacy}","received_events_url":"https://api.github.com/users/maxiloc/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T18:49:08Z","updated_at":"2016-03-02T18:49:08Z","body":"@rayrutjes Thanks for contributing. Much appreciated"}}