{"action":"closed","issue":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/484","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/484/comments","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/484/events","html_url":"https://github.com/FriendsOfSymfony/FOSCommentBundle/issues/484","id":98710924,"number":484,"title":"[DOCUMENTATION] Issue on tag name for custom sorter","user":{"login":"jmaquet","id":1617800,"avatar_url":"https://avatars.githubusercontent.com/u/1617800?v=3","gravatar_id":"","url":"https://api.github.com/users/jmaquet","html_url":"https://github.com/jmaquet","followers_url":"https://api.github.com/users/jmaquet/followers","following_url":"https://api.github.com/users/jmaquet/following{/other_user}","gists_url":"https://api.github.com/users/jmaquet/gists{/gist_id}","starred_url":"https://api.github.com/users/jmaquet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmaquet/subscriptions","organizations_url":"https://api.github.com/users/jmaquet/orgs","repos_url":"https://api.github.com/users/jmaquet/repos","events_url":"https://api.github.com/users/jmaquet/events{/privacy}","received_events_url":"https://api.github.com/users/jmaquet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/labels/Documentation","name":"Documentation","color":"0b02e1"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-03T10:02:53Z","updated_at":"2015-08-03T11:03:55Z","closed_at":"2015-08-03T11:03:55Z","body":"I think that there is a typo issue in the documentation : \r\nhttps://github.com/FriendsOfSymfony/FOSCommentBundle/blob/master/Resources/doc/14-customizing_tree_sorting.md\r\nAt the end of the actual doc :\r\n```\r\nservices:\r\n    acme_comment.sorter.my_sort:\r\n        class: Acme\\CommentBundle\\Sorting\\AcmeOrderSorting\r\n        tags:\r\n            - { name: acme_comment.sorter, alias: my_sort }\r\n```\r\nI think the last line should be : \r\n```\r\n            - { name: fos_comment.sorter, alias: my_sort }\r\n```"}}