{"action":"created","issue":{"url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/1776","repository_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2","labels_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/1776/labels{/name}","comments_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/1776/comments","events_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/1776/events","html_url":"https://github.com/phpDocumentor/phpDocumentor2/issues/1776","id":164105893,"number":1776,"title":"Add a @signature tag","user":{"login":"Odepax","id":12576998,"avatar_url":"https://avatars.githubusercontent.com/u/12576998?v=3","gravatar_id":"","url":"https://api.github.com/users/Odepax","html_url":"https://github.com/Odepax","followers_url":"https://api.github.com/users/Odepax/followers","following_url":"https://api.github.com/users/Odepax/following{/other_user}","gists_url":"https://api.github.com/users/Odepax/gists{/gist_id}","starred_url":"https://api.github.com/users/Odepax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Odepax/subscriptions","organizations_url":"https://api.github.com/users/Odepax/orgs","repos_url":"https://api.github.com/users/Odepax/repos","events_url":"https://api.github.com/users/Odepax/events{/privacy}","received_events_url":"https://api.github.com/users/Odepax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-06T15:35:52Z","updated_at":"2016-07-31T20:48:12Z","closed_at":null,"body":"```php\r\n/**\r\n * Lorem ipsum dolor sit amet, consectetur adipisicing elit.\r\n * \r\n * Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias earum harum\r\n * praesentium, repellendus nesciunt rem optio omnis, unde enim doloremque\r\n * provident, totam.\r\n *\r\n * @signature public function sequence ($from, $increment, $to)\r\n * @signature public function sequence ($from, $to)\r\n * @signature public function sequence ($to)\r\n *\r\n * @param int $from = 0\r\n * Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias earum harum\r\n * praesentium.\r\n *\r\n * @param int $increment = 1\r\n * Lorem ipsum dolor sit amet, consectetur adipisicing elit.\r\n *\r\n * @param int $to\r\n * Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias earum harum\r\n * praesentium, repellendus nesciunt rem optio omnis.\r\n *\r\n * @returns int[]\r\n * Returns a Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias\r\n * earum harum praesentium, repellendus nesciunt rem optio omnis, unde enim\r\n * doloremque provident, totam.\r\n */\r\npublic function sequence (int ...$args): int[]\r\n{\r\n\tswitch (count($args)) {\r\n\t\t// ...\r\n\t}\r\n}\r\n\r\n```\r\n\r\nThis could avoid this kind of definition in some docs:\r\n\r\n```\r\nanAction (int|string|My\\Super\\Object|array, int[]|My\\Super\\ObjectCollection|callback|null, string[]|int|callback|null)\r\n```"},"comment":{"url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/comments/236455663","html_url":"https://github.com/phpDocumentor/phpDocumentor2/issues/1776#issuecomment-236455663","issue_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/1776","id":236455663,"user":{"login":"malkusch","id":1623984,"avatar_url":"https://avatars.githubusercontent.com/u/1623984?v=3","gravatar_id":"","url":"https://api.github.com/users/malkusch","html_url":"https://github.com/malkusch","followers_url":"https://api.github.com/users/malkusch/followers","following_url":"https://api.github.com/users/malkusch/following{/other_user}","gists_url":"https://api.github.com/users/malkusch/gists{/gist_id}","starred_url":"https://api.github.com/users/malkusch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malkusch/subscriptions","organizations_url":"https://api.github.com/users/malkusch/orgs","repos_url":"https://api.github.com/users/malkusch/repos","events_url":"https://api.github.com/users/malkusch/events{/privacy}","received_events_url":"https://api.github.com/users/malkusch/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T20:48:12Z","updated_at":"2016-07-31T20:48:12Z","body":"> This could avoid this kind of definition in some docs:\r\n\r\nTry to avoid this kind of signature in the first place."}}
{"actor":{"display_login":"malkusch"}}