{"action":"created","comment":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments/78038419","id":78038419,"diff_hunk":"@@ -496,28 +577,34 @@ public function getLink(Link $link = null)\n         return $link->getCMSCategoryLink($this->id, $this->link_rewrite);\n     }\n \n-    public function getName($id_lang = null)\n+    /**\n+     * @param null $idLang\n+     *\n+     * @return string\n+     */\n+    public function getName($idLang = null)\n     {\n         $context = Context::getContext();\n-        if (!$id_lang) {\n+        if (!$idLang) {","path":"classes/CMSCategory.php","position":null,"original_position":555,"commit_id":"23188cca3e6e86dde5bfb382bef56a53670c292b","original_commit_id":"56c55c98aaa11ae770793abe2ae3de987f2679c9","user":{"login":"mickaelandrieu","id":1247388,"avatar_url":"https://avatars.githubusercontent.com/u/1247388?v=3","gravatar_id":"","url":"https://api.github.com/users/mickaelandrieu","html_url":"https://github.com/mickaelandrieu","followers_url":"https://api.github.com/users/mickaelandrieu/followers","following_url":"https://api.github.com/users/mickaelandrieu/following{/other_user}","gists_url":"https://api.github.com/users/mickaelandrieu/gists{/gist_id}","starred_url":"https://api.github.com/users/mickaelandrieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickaelandrieu/subscriptions","organizations_url":"https://api.github.com/users/mickaelandrieu/orgs","repos_url":"https://api.github.com/users/mickaelandrieu/repos","events_url":"https://api.github.com/users/mickaelandrieu/events{/privacy}","received_events_url":"https://api.github.com/users/mickaelandrieu/received_events","type":"User","site_admin":false},"body":"Yup, but I prefer see and fix the bug if any, than handle it the wrong way :)","created_at":"2016-09-08T16:14:56Z","updated_at":"2016-09-08T16:14:56Z","html_url":"https://github.com/PrestaShop/PrestaShop/pull/6228#discussion_r78038419","pull_request_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/6228","_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments/78038419"},"html":{"href":"https://github.com/PrestaShop/PrestaShop/pull/6228#discussion_r78038419"},"pull_request":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/6228"}}},"pull_request":{"url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/6228","id":84486212,"html_url":"https://github.com/PrestaShop/PrestaShop/pull/6228","diff_url":"https://github.com/PrestaShop/PrestaShop/pull/6228.diff","patch_url":"https://github.com/PrestaShop/PrestaShop/pull/6228.patch","issue_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/6228","number":6228,"state":"open","locked":false,"title":"Doc + update CMSCategory","user":{"login":"firstred","id":6775736,"avatar_url":"https://avatars.githubusercontent.com/u/6775736?v=3","gravatar_id":"","url":"https://api.github.com/users/firstred","html_url":"https://github.com/firstred","followers_url":"https://api.github.com/users/firstred/followers","following_url":"https://api.github.com/users/firstred/following{/other_user}","gists_url":"https://api.github.com/users/firstred/gists{/gist_id}","starred_url":"https://api.github.com/users/firstred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firstred/subscriptions","organizations_url":"https://api.github.com/users/firstred/orgs","repos_url":"https://api.github.com/users/firstred/repos","events_url":"https://api.github.com/users/firstred/events{/privacy}","received_events_url":"https://api.github.com/users/firstred/received_events","type":"User","site_admin":false},"body":"| Questions     | Answers\r\n| ------------- | -------------------------------------------------------\r\n| Branch?       | `develop`\r\n| Description?  | Upgrading the PHPDoc comments of this class, using the latest PS standards and also applying the PS standards to some of the code. Also getting the Franglais out of the comments, getting rid of things the Symfony code sniffer nags about, etc. It might have some additional `todo` tags, depending on whether the code was comprehensible or not.\r\n| Type?         | improvement\r\n| Category?     | CO\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Fixed ticket? | N/A\r\n| How to test?  | N/A\r\n\r\nWarning: this PR also has a code cleanup. Please check this first before merging!","created_at":"2016-09-08T14:17:33Z","updated_at":"2016-09-08T16:14:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"287412caa947e0e891e6aee3a1ba263f24398eec","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/6228/commits","review_comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/6228/comments","review_comment_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/6228/comments","statuses_url":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/23188cca3e6e86dde5bfb382bef56a53670c292b","head":{"label":"firstred:cmscategorydoc","ref":"cmscategorydoc","sha":"23188cca3e6e86dde5bfb382bef56a53670c292b","user":{"login":"firstred","id":6775736,"avatar_url":"https://avatars.githubusercontent.com/u/6775736?v=3","gravatar_id":"","url":"https://api.github.com/users/firstred","html_url":"https://github.com/firstred","followers_url":"https://api.github.com/users/firstred/followers","following_url":"https://api.github.com/users/firstred/following{/other_user}","gists_url":"https://api.github.com/users/firstred/gists{/gist_id}","starred_url":"https://api.github.com/users/firstred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firstred/subscriptions","organizations_url":"https://api.github.com/users/firstred/orgs","repos_url":"https://api.github.com/users/firstred/repos","events_url":"https://api.github.com/users/firstred/events{/privacy}","received_events_url":"https://api.github.com/users/firstred/received_events","type":"User","site_admin":false},"repo":{"id":36132603,"name":"PrestaShop","full_name":"firstred/PrestaShop","owner":{"login":"firstred","id":6775736,"avatar_url":"https://avatars.githubusercontent.com/u/6775736?v=3","gravatar_id":"","url":"https://api.github.com/users/firstred","html_url":"https://github.com/firstred","followers_url":"https://api.github.com/users/firstred/followers","following_url":"https://api.github.com/users/firstred/following{/other_user}","gists_url":"https://api.github.com/users/firstred/gists{/gist_id}","starred_url":"https://api.github.com/users/firstred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firstred/subscriptions","organizations_url":"https://api.github.com/users/firstred/orgs","repos_url":"https://api.github.com/users/firstred/repos","events_url":"https://api.github.com/users/firstred/events{/privacy}","received_events_url":"https://api.github.com/users/firstred/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/firstred/PrestaShop","description":"PrestaShop offers a free, fully scalable, Open-source e-commerce solution.","fork":true,"url":"https://api.github.com/repos/firstred/PrestaShop","forks_url":"https://api.github.com/repos/firstred/PrestaShop/forks","keys_url":"https://api.github.com/repos/firstred/PrestaShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/firstred/PrestaShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/firstred/PrestaShop/teams","hooks_url":"https://api.github.com/repos/firstred/PrestaShop/hooks","issue_events_url":"https://api.github.com/repos/firstred/PrestaShop/issues/events{/number}","events_url":"https://api.github.com/repos/firstred/PrestaShop/events","assignees_url":"https://api.github.com/repos/firstred/PrestaShop/assignees{/user}","branches_url":"https://api.github.com/repos/firstred/PrestaShop/branches{/branch}","tags_url":"https://api.github.com/repos/firstred/PrestaShop/tags","blobs_url":"https://api.github.com/repos/firstred/PrestaShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/firstred/PrestaShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/firstred/PrestaShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/firstred/PrestaShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/firstred/PrestaShop/statuses/{sha}","languages_url":"https://api.github.com/repos/firstred/PrestaShop/languages","stargazers_url":"https://api.github.com/repos/firstred/PrestaShop/stargazers","contributors_url":"https://api.github.com/repos/firstred/PrestaShop/contributors","subscribers_url":"https://api.github.com/repos/firstred/PrestaShop/subscribers","subscription_url":"https://api.github.com/repos/firstred/PrestaShop/subscription","commits_url":"https://api.github.com/repos/firstred/PrestaShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/firstred/PrestaShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/firstred/PrestaShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/firstred/PrestaShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/firstred/PrestaShop/contents/{+path}","compare_url":"https://api.github.com/repos/firstred/PrestaShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/firstred/PrestaShop/merges","archive_url":"https://api.github.com/repos/firstred/PrestaShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/firstred/PrestaShop/downloads","issues_url":"https://api.github.com/repos/firstred/PrestaShop/issues{/number}","pulls_url":"https://api.github.com/repos/firstred/PrestaShop/pulls{/number}","milestones_url":"https://api.github.com/repos/firstred/PrestaShop/milestones{/number}","notifications_url":"https://api.github.com/repos/firstred/PrestaShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/firstred/PrestaShop/labels{/name}","releases_url":"https://api.github.com/repos/firstred/PrestaShop/releases{/id}","deployments_url":"https://api.github.com/repos/firstred/PrestaShop/deployments","created_at":"2015-05-23T16:47:41Z","updated_at":"2016-04-25T17:38:55Z","pushed_at":"2016-09-08T16:02:31Z","git_url":"git://github.com/firstred/PrestaShop.git","ssh_url":"git@github.com:firstred/PrestaShop.git","clone_url":"https://github.com/firstred/PrestaShop.git","svn_url":"https://github.com/firstred/PrestaShop","homepage":"http://www.prestashop.com/","size":255731,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"extraci"}},"base":{"label":"PrestaShop:develop","ref":"develop","sha":"9c949d18dd6b95bd415eae85b034eb0a76b034b0","user":{"login":"PrestaShop","id":2815696,"avatar_url":"https://avatars.githubusercontent.com/u/2815696?v=3","gravatar_id":"","url":"https://api.github.com/users/PrestaShop","html_url":"https://github.com/PrestaShop","followers_url":"https://api.github.com/users/PrestaShop/followers","following_url":"https://api.github.com/users/PrestaShop/following{/other_user}","gists_url":"https://api.github.com/users/PrestaShop/gists{/gist_id}","starred_url":"https://api.github.com/users/PrestaShop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrestaShop/subscriptions","organizations_url":"https://api.github.com/users/PrestaShop/orgs","repos_url":"https://api.github.com/users/PrestaShop/repos","events_url":"https://api.github.com/users/PrestaShop/events{/privacy}","received_events_url":"https://api.github.com/users/PrestaShop/received_events","type":"Organization","site_admin":false},"repo":{"id":6763587,"name":"PrestaShop","full_name":"PrestaShop/PrestaShop","owner":{"login":"PrestaShop","id":2815696,"avatar_url":"https://avatars.githubusercontent.com/u/2815696?v=3","gravatar_id":"","url":"https://api.github.com/users/PrestaShop","html_url":"https://github.com/PrestaShop","followers_url":"https://api.github.com/users/PrestaShop/followers","following_url":"https://api.github.com/users/PrestaShop/following{/other_user}","gists_url":"https://api.github.com/users/PrestaShop/gists{/gist_id}","starred_url":"https://api.github.com/users/PrestaShop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrestaShop/subscriptions","organizations_url":"https://api.github.com/users/PrestaShop/orgs","repos_url":"https://api.github.com/users/PrestaShop/repos","events_url":"https://api.github.com/users/PrestaShop/events{/privacy}","received_events_url":"https://api.github.com/users/PrestaShop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PrestaShop/PrestaShop","description":"PrestaShop offers a free, fully scalable, Open Source e-commerce solution.","fork":false,"url":"https://api.github.com/repos/PrestaShop/PrestaShop","forks_url":"https://api.github.com/repos/PrestaShop/PrestaShop/forks","keys_url":"https://api.github.com/repos/PrestaShop/PrestaShop/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PrestaShop/PrestaShop/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PrestaShop/PrestaShop/teams","hooks_url":"https://api.github.com/repos/PrestaShop/PrestaShop/hooks","issue_events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/events{/number}","events_url":"https://api.github.com/repos/PrestaShop/PrestaShop/events","assignees_url":"https://api.github.com/repos/PrestaShop/PrestaShop/assignees{/user}","branches_url":"https://api.github.com/repos/PrestaShop/PrestaShop/branches{/branch}","tags_url":"https://api.github.com/repos/PrestaShop/PrestaShop/tags","blobs_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/refs{/sha}","trees_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/{sha}","languages_url":"https://api.github.com/repos/PrestaShop/PrestaShop/languages","stargazers_url":"https://api.github.com/repos/PrestaShop/PrestaShop/stargazers","contributors_url":"https://api.github.com/repos/PrestaShop/PrestaShop/contributors","subscribers_url":"https://api.github.com/repos/PrestaShop/PrestaShop/subscribers","subscription_url":"https://api.github.com/repos/PrestaShop/PrestaShop/subscription","commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/commits{/sha}","git_commits_url":"https://api.github.com/repos/PrestaShop/PrestaShop/git/commits{/sha}","comments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/comments{/number}","issue_comment_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/comments{/number}","contents_url":"https://api.github.com/repos/PrestaShop/PrestaShop/contents/{+path}","compare_url":"https://api.github.com/repos/PrestaShop/PrestaShop/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PrestaShop/PrestaShop/merges","archive_url":"https://api.github.com/repos/PrestaShop/PrestaShop/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PrestaShop/PrestaShop/downloads","issues_url":"https://api.github.com/repos/PrestaShop/PrestaShop/issues{/number}","pulls_url":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls{/number}","milestones_url":"https://api.github.com/repos/PrestaShop/PrestaShop/milestones{/number}","notifications_url":"https://api.github.com/repos/PrestaShop/PrestaShop/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PrestaShop/PrestaShop/labels{/name}","releases_url":"https://api.github.com/repos/PrestaShop/PrestaShop/releases{/id}","deployments_url":"https://api.github.com/repos/PrestaShop/PrestaShop/deployments","created_at":"2012-11-19T16:41:31Z","updated_at":"2016-09-08T15:19:24Z","pushed_at":"2016-09-08T16:02:31Z","git_url":"git://github.com/PrestaShop/PrestaShop.git","ssh_url":"git@github.com:PrestaShop/PrestaShop.git","clone_url":"https://github.com/PrestaShop/PrestaShop.git","svn_url":"https://github.com/PrestaShop/PrestaShop","homepage":"http://www.prestashop.com/","size":329464,"stargazers_count":1975,"watchers_count":1975,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1981,"mirror_url":null,"open_issues_count":273,"forks":1981,"open_issues":273,"watchers":1975,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/6228"},"html":{"href":"https://github.com/PrestaShop/PrestaShop/pull/6228"},"issue":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/6228"},"comments":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/issues/6228/comments"},"review_comments":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/6228/comments"},"review_comment":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/pulls/6228/commits"},"statuses":{"href":"https://api.github.com/repos/PrestaShop/PrestaShop/statuses/23188cca3e6e86dde5bfb382bef56a53670c292b"}}}}
{"actor":{"display_login":"mickaelandrieu"}}