{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/15601","repository_url":"https://api.github.com/repos/magento/magento2","labels_url":"https://api.github.com/repos/magento/magento2/issues/15601/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/15601/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/15601/events","html_url":"https://github.com/magento/magento2/issues/15601","id":327678791,"node_id":"MDU6SXNzdWUzMjc2Nzg3OTE=","number":15601,"title":"Wrong annotation in formatDateTime - lib/internal/Magento/Framework/Stdlib/DateTime/TimezoneInterface.php","user":{"login":"sanjay-wagento","id":8655914,"node_id":"MDQ6VXNlcjg2NTU5MTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/8655914?v=4","gravatar_id":"","url":"https://api.github.com/users/sanjay-wagento","html_url":"https://github.com/sanjay-wagento","followers_url":"https://api.github.com/users/sanjay-wagento/followers","following_url":"https://api.github.com/users/sanjay-wagento/following{/other_user}","gists_url":"https://api.github.com/users/sanjay-wagento/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjay-wagento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjay-wagento/subscriptions","organizations_url":"https://api.github.com/users/sanjay-wagento/orgs","repos_url":"https://api.github.com/users/sanjay-wagento/repos","events_url":"https://api.github.com/users/sanjay-wagento/events{/privacy}","received_events_url":"https://api.github.com/users/sanjay-wagento/received_events","type":"User","site_admin":false},"labels":[{"id":949308141,"node_id":"MDU6TGFiZWw5NDkzMDgxNDE=","url":"https://api.github.com/repos/magento/magento2/labels/Component:%20Framework/Stdlib","name":"Component: Framework/Stdlib","color":"7fb703","default":false},{"id":686477307,"node_id":"MDU6TGFiZWw2ODY0NzczMDc=","url":"https://api.github.com/repos/magento/magento2/labels/Fixed%20in%202.1.x","name":"Fixed in 2.1.x","color":"0e8a16","default":false},{"id":686477493,"node_id":"MDU6TGFiZWw2ODY0Nzc0OTM=","url":"https://api.github.com/repos/magento/magento2/labels/Fixed%20in%202.3.x","name":"Fixed in 2.3.x","color":"0e8a16","default":false},{"id":686420665,"node_id":"MDU6TGFiZWw2ODY0MjA2NjU=","url":"https://api.github.com/repos/magento/magento2/labels/Issue:%20Clear%20Description","name":"Issue: Clear Description","color":"0e8a16","default":false},{"id":686476746,"node_id":"MDU6TGFiZWw2ODY0NzY3NDY=","url":"https://api.github.com/repos/magento/magento2/labels/Issue:%20Confirmed","name":"Issue: Confirmed","color":"0e8a16","default":false},{"id":688811200,"node_id":"MDU6TGFiZWw2ODg4MTEyMDA=","url":"https://api.github.com/repos/magento/magento2/labels/Issue:%20Format%20is%20valid","name":"Issue: Format is valid","color":"0e8a16","default":false},{"id":21716835,"node_id":"MDU6TGFiZWwyMTcxNjgzNQ==","url":"https://api.github.com/repos/magento/magento2/labels/Issue:%20Ready%20for%20Work","name":"Issue: Ready for Work","color":"0e8a16","default":false},{"id":686477126,"node_id":"MDU6TGFiZWw2ODY0NzcxMjY=","url":"https://api.github.com/repos/magento/magento2/labels/Reproduced%20on%202.2.x","name":"Reproduced on 2.2.x","color":"e99695","default":false}],"state":"closed","locked":false,"assignee":{"login":"sanjay-wagento","id":8655914,"node_id":"MDQ6VXNlcjg2NTU5MTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/8655914?v=4","gravatar_id":"","url":"https://api.github.com/users/sanjay-wagento","html_url":"https://github.com/sanjay-wagento","followers_url":"https://api.github.com/users/sanjay-wagento/followers","following_url":"https://api.github.com/users/sanjay-wagento/following{/other_user}","gists_url":"https://api.github.com/users/sanjay-wagento/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjay-wagento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjay-wagento/subscriptions","organizations_url":"https://api.github.com/users/sanjay-wagento/orgs","repos_url":"https://api.github.com/users/sanjay-wagento/repos","events_url":"https://api.github.com/users/sanjay-wagento/events{/privacy}","received_events_url":"https://api.github.com/users/sanjay-wagento/received_events","type":"User","site_admin":false},"assignees":[{"login":"sanjay-wagento","id":8655914,"node_id":"MDQ6VXNlcjg2NTU5MTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/8655914?v=4","gravatar_id":"","url":"https://api.github.com/users/sanjay-wagento","html_url":"https://github.com/sanjay-wagento","followers_url":"https://api.github.com/users/sanjay-wagento/followers","following_url":"https://api.github.com/users/sanjay-wagento/following{/other_user}","gists_url":"https://api.github.com/users/sanjay-wagento/gists{/gist_id}","starred_url":"https://api.github.com/users/sanjay-wagento/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sanjay-wagento/subscriptions","organizations_url":"https://api.github.com/users/sanjay-wagento/orgs","repos_url":"https://api.github.com/users/sanjay-wagento/repos","events_url":"https://api.github.com/users/sanjay-wagento/events{/privacy}","received_events_url":"https://api.github.com/users/sanjay-wagento/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-05-30T10:57:00Z","updated_at":"2018-11-30T09:01:37Z","closed_at":"2018-11-30T09:01:37Z","author_association":"CONTRIBUTOR","body":"<!---\r\nPlease review our guidelines before adding a new issue: https://github.com/magento/magento2/wiki/Issue-reporting-guidelines\r\n-->\r\n\r\n### Preconditions\r\n<!---\r\nProvide the exact Magento version (example: 2.2.5) and any important information on the environment where bug is reproducible.\r\n-->\r\n1. Magento 2 code.\r\n\r\n### Steps to reproduce\r\n<!---\r\nImportant: Provide a set of clear steps to reproduce this bug. We can not provide support without clear instructions on how to reproduce.\r\n-->\r\n1. Observe \\Magento\\Framework\\Stdlib\\DateTime\\TimezoneInterface::formatDateTime\r\n\r\n### Expected result\r\n<!--- Tell us what do you expect to happen. -->\r\n1. The annotation for **locale** and **timezone** should be **@param string|null $locale** and **@param string|null $timezone**\r\n\r\n### Actual result\r\n<!--- Tell us what happened instead. Include error messages and issues. -->\r\n1. The annotation for **locale** and **timezone** is **@param null $locale** and **@param null $timezone**\r\n```\r\n    /**\r\n     * @param string|\\DateTimeInterface $date\r\n     * @param int $dateType\r\n     * @param int $timeType\r\n     * @param null $locale\r\n     * @param null $timezone\r\n     * @param string|null $pattern\r\n     * @return string\r\n     */\r\n    public function formatDateTime(\r\n        $date,\r\n        $dateType = \\IntlDateFormatter::SHORT,\r\n        $timeType = \\IntlDateFormatter::SHORT,\r\n        $locale = null,\r\n        $timezone = null,\r\n        $pattern = null\r\n    );\r\n```"},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/443137045","html_url":"https://github.com/magento/magento2/issues/15601#issuecomment-443137045","issue_url":"https://api.github.com/repos/magento/magento2/issues/15601","id":443137045,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzEzNzA0NQ==","user":{"login":"engcom-backlog-nazar","id":40756439,"node_id":"MDQ6VXNlcjQwNzU2NDM5","avatar_url":"https://avatars2.githubusercontent.com/u/40756439?v=4","gravatar_id":"","url":"https://api.github.com/users/engcom-backlog-nazar","html_url":"https://github.com/engcom-backlog-nazar","followers_url":"https://api.github.com/users/engcom-backlog-nazar/followers","following_url":"https://api.github.com/users/engcom-backlog-nazar/following{/other_user}","gists_url":"https://api.github.com/users/engcom-backlog-nazar/gists{/gist_id}","starred_url":"https://api.github.com/users/engcom-backlog-nazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/engcom-backlog-nazar/subscriptions","organizations_url":"https://api.github.com/users/engcom-backlog-nazar/orgs","repos_url":"https://api.github.com/users/engcom-backlog-nazar/repos","events_url":"https://api.github.com/users/engcom-backlog-nazar/events{/privacy}","received_events_url":"https://api.github.com/users/engcom-backlog-nazar/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T09:01:37Z","updated_at":"2018-11-30T09:01:37Z","author_association":"CONTRIBUTOR","body":"Hi @sanjay-wagento , thank you for you report, this issue has already fixed in 2.3-develop branch, and available on 2.3.0 release."}}
{"actor":{"display_login":"engcom-backlog-nazar"}}