{"action":"created","issue":{"url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/539","labels_url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/539/labels{/name}","comments_url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/539/comments","events_url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/539/events","html_url":"https://github.com/scrutinizer-ci/php-analyzer/issues/539","id":54363387,"number":539,"title":"int[] is an Array","user":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-14T19:15:41Z","updated_at":"2015-01-14T21:26:22Z","closed_at":null,"body":"My PHPDoc\r\n```\r\n@return int[]|false\r\n```\r\nPHP Analyzer's comment\r\n\r\n>Should the return type not be false|array? \r\n\r\nThe PHPDoc, under Arrays\r\nhttp://phpdoc.org/docs/latest/references/phpdoc/types.html#arrays\r\n>Example: @return int[]\r\n\r\nsee https://scrutinizer-ci.com/g/interfasys/galleryplus/inspections/87550a32-ea48-4e18-9d11-cce41c92d51b/issues/files/service/infoservice.php?status=new&orderField=path&order=asc&issueId=d38e9434-6203-4f2a-b3c0-8b0a26700676"},"comment":{"url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/comments/69995015","html_url":"https://github.com/scrutinizer-ci/php-analyzer/issues/539#issuecomment-69995015","issue_url":"https://api.github.com/repos/scrutinizer-ci/php-analyzer/issues/539","id":69995015,"user":{"login":"neomerx","id":10420662,"avatar_url":"https://avatars.githubusercontent.com/u/10420662?v=3","gravatar_id":"","url":"https://api.github.com/users/neomerx","html_url":"https://github.com/neomerx","followers_url":"https://api.github.com/users/neomerx/followers","following_url":"https://api.github.com/users/neomerx/following{/other_user}","gists_url":"https://api.github.com/users/neomerx/gists{/gist_id}","starred_url":"https://api.github.com/users/neomerx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neomerx/subscriptions","organizations_url":"https://api.github.com/users/neomerx/orgs","repos_url":"https://api.github.com/users/neomerx/repos","events_url":"https://api.github.com/users/neomerx/events{/privacy}","received_events_url":"https://api.github.com/users/neomerx/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T21:26:22Z","updated_at":"2015-01-14T21:26:22Z","body":"Look at your Service::getNodeInfo. This error comes from there. The method returns false or ['str' => int] which is not int[] really."}}