{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/8805","labels_url":"https://api.github.com/repos/laravel/framework/issues/8805/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/8805/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/8805/events","html_url":"https://github.com/laravel/framework/pull/8805","id":78102815,"number":8805,"title":"[5.0] Remove extra braces around a return","user":{"login":"taiyaei","id":3488360,"avatar_url":"https://avatars.githubusercontent.com/u/3488360?v=3","gravatar_id":"","url":"https://api.github.com/users/taiyaei","html_url":"https://github.com/taiyaei","followers_url":"https://api.github.com/users/taiyaei/followers","following_url":"https://api.github.com/users/taiyaei/following{/other_user}","gists_url":"https://api.github.com/users/taiyaei/gists{/gist_id}","starred_url":"https://api.github.com/users/taiyaei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taiyaei/subscriptions","organizations_url":"https://api.github.com/users/taiyaei/orgs","repos_url":"https://api.github.com/users/taiyaei/repos","events_url":"https://api.github.com/users/taiyaei/events{/privacy}","received_events_url":"https://api.github.com/users/taiyaei/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-19T14:06:56Z","updated_at":"2015-05-19T21:00:22Z","closed_at":"2015-05-19T16:16:41Z","pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/8805","html_url":"https://github.com/laravel/framework/pull/8805","diff_url":"https://github.com/laravel/framework/pull/8805.diff","patch_url":"https://github.com/laravel/framework/pull/8805.patch"},"body":"This removes extra braces around \"return true\". It was introduced in cd56ae3, a cleanup PR, and I think it was accidentally brought in by forgetting to move the resulted logic of the if down into the braces.\r\n\r\nCan see here http://3v4l.org/ZfE32 that it doesn't cause any problems but there's no reason to keep the braces either."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/103666235","html_url":"https://github.com/laravel/framework/pull/8805#issuecomment-103666235","issue_url":"https://api.github.com/repos/laravel/framework/issues/8805","id":103666235,"user":{"login":"franzliedke","id":249125,"avatar_url":"https://avatars.githubusercontent.com/u/249125?v=3","gravatar_id":"","url":"https://api.github.com/users/franzliedke","html_url":"https://github.com/franzliedke","followers_url":"https://api.github.com/users/franzliedke/followers","following_url":"https://api.github.com/users/franzliedke/following{/other_user}","gists_url":"https://api.github.com/users/franzliedke/gists{/gist_id}","starred_url":"https://api.github.com/users/franzliedke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/franzliedke/subscriptions","organizations_url":"https://api.github.com/users/franzliedke/orgs","repos_url":"https://api.github.com/users/franzliedke/repos","events_url":"https://api.github.com/users/franzliedke/events{/privacy}","received_events_url":"https://api.github.com/users/franzliedke/received_events","type":"User","site_admin":false},"created_at":"2015-05-19T21:00:22Z","updated_at":"2015-05-19T21:00:22Z","body":"Yeah, that code doesn't really make sense. Should be reconsidered."}}