{"action":"closed","issue":{"url":"https://api.github.com/repos/vimeo/psalm/issues/744","repository_url":"https://api.github.com/repos/vimeo/psalm","labels_url":"https://api.github.com/repos/vimeo/psalm/issues/744/labels{/name}","comments_url":"https://api.github.com/repos/vimeo/psalm/issues/744/comments","events_url":"https://api.github.com/repos/vimeo/psalm/issues/744/events","html_url":"https://github.com/vimeo/psalm/issues/744","id":322985521,"number":744,"title":"TLiteralString should store one string only to allow proper logic to apply","user":{"login":"muglug","id":2292638,"avatar_url":"https://avatars0.githubusercontent.com/u/2292638?v=4","gravatar_id":"","url":"https://api.github.com/users/muglug","html_url":"https://github.com/muglug","followers_url":"https://api.github.com/users/muglug/followers","following_url":"https://api.github.com/users/muglug/following{/other_user}","gists_url":"https://api.github.com/users/muglug/gists{/gist_id}","starred_url":"https://api.github.com/users/muglug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muglug/subscriptions","organizations_url":"https://api.github.com/users/muglug/orgs","repos_url":"https://api.github.com/users/muglug/repos","events_url":"https://api.github.com/users/muglug/events{/privacy}","received_events_url":"https://api.github.com/users/muglug/received_events","type":"User","site_admin":false},"labels":[{"id":486061586,"url":"https://api.github.com/repos/vimeo/psalm/labels/bug","name":"bug","color":"ee0701","default":true},{"id":518590152,"url":"https://api.github.com/repos/vimeo/psalm/labels/false%20positive","name":"false positive","color":"e99695","default":false},{"id":754339224,"url":"https://api.github.com/repos/vimeo/psalm/labels/valid%20code","name":"valid code","color":"6ddb7f","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-14T21:19:09Z","updated_at":"2018-05-18T15:02:50Z","closed_at":"2018-05-18T15:02:50Z","author_association":"MEMBER","body":"Would solve this, which currently breaks\r\n\r\n```php\r\n$a = rand(0, 1) ? \"a\" : \"b\";\r\n$b = rand(0, 1) ? \"a\" : \"b\";\r\n\r\n$s = rand(0, 1) ? $a : $b;\r\nif (rand(0, 1)) $s = \"c\";\r\n\r\nif ($s === $a) {\r\n} elseif ($s === $b) {}\r\n```"}}
{"actor":{"display_login":"muglug"}}