{"action":"created","issue":{"url":"https://api.github.com/repos/peachpiecompiler/peachpie/issues/282","repository_url":"https://api.github.com/repos/peachpiecompiler/peachpie","labels_url":"https://api.github.com/repos/peachpiecompiler/peachpie/issues/282/labels{/name}","comments_url":"https://api.github.com/repos/peachpiecompiler/peachpie/issues/282/comments","events_url":"https://api.github.com/repos/peachpiecompiler/peachpie/issues/282/events","html_url":"https://github.com/peachpiecompiler/peachpie/issues/282","id":364254448,"node_id":"MDU6SXNzdWUzNjQyNTQ0NDg=","number":282,"title":"null returned from typed nullable function gets corrupted","user":{"login":"jakubmisek","id":842150,"node_id":"MDQ6VXNlcjg0MjE1MA==","avatar_url":"https://avatars1.githubusercontent.com/u/842150?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubmisek","html_url":"https://github.com/jakubmisek","followers_url":"https://api.github.com/users/jakubmisek/followers","following_url":"https://api.github.com/users/jakubmisek/following{/other_user}","gists_url":"https://api.github.com/users/jakubmisek/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubmisek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubmisek/subscriptions","organizations_url":"https://api.github.com/users/jakubmisek/orgs","repos_url":"https://api.github.com/users/jakubmisek/repos","events_url":"https://api.github.com/users/jakubmisek/events{/privacy}","received_events_url":"https://api.github.com/users/jakubmisek/received_events","type":"User","site_admin":false},"labels":[{"id":322093827,"node_id":"MDU6TGFiZWwzMjIwOTM4Mjc=","url":"https://api.github.com/repos/peachpiecompiler/peachpie/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-26T23:51:25Z","updated_at":"2018-09-27T15:15:14Z","closed_at":"2018-09-27T15:15:14Z","author_association":"MEMBER","body":"consider following\r\n```php\r\nfunction f() : ?array\r\n{\r\n    $n = null;\r\n    return $n;\r\n}\r\n```\r\nExpected: `NULL` gets returned\r\nActual: function returns `array(0)` "},"comment":{"url":"https://api.github.com/repos/peachpiecompiler/peachpie/issues/comments/425131767","html_url":"https://github.com/peachpiecompiler/peachpie/issues/282#issuecomment-425131767","issue_url":"https://api.github.com/repos/peachpiecompiler/peachpie/issues/282","id":425131767,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTEzMTc2Nw==","user":{"login":"jakubmisek","id":842150,"node_id":"MDQ6VXNlcjg0MjE1MA==","avatar_url":"https://avatars1.githubusercontent.com/u/842150?v=4","gravatar_id":"","url":"https://api.github.com/users/jakubmisek","html_url":"https://github.com/jakubmisek","followers_url":"https://api.github.com/users/jakubmisek/followers","following_url":"https://api.github.com/users/jakubmisek/following{/other_user}","gists_url":"https://api.github.com/users/jakubmisek/gists{/gist_id}","starred_url":"https://api.github.com/users/jakubmisek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakubmisek/subscriptions","organizations_url":"https://api.github.com/users/jakubmisek/orgs","repos_url":"https://api.github.com/users/jakubmisek/repos","events_url":"https://api.github.com/users/jakubmisek/events{/privacy}","received_events_url":"https://api.github.com/users/jakubmisek/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T15:15:14Z","updated_at":"2018-09-27T15:15:14Z","author_association":"MEMBER","body":"fixed with https://github.com/peachpiecompiler/peachpie/commit/296723bf67b797aedf5dce2a93800c8796044fa5"}}
{"actor":{"display_login":"jakubmisek"}}