{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/9143","labels_url":"https://api.github.com/repos/laravel/framework/issues/9143/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/9143/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/9143/events","html_url":"https://github.com/laravel/framework/pull/9143","id":86310064,"number":9143,"title":"[5.1] Add missing *orFail methods in relationships","user":{"login":"lukasgeiter","id":5907946,"avatar_url":"https://avatars.githubusercontent.com/u/5907946?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasgeiter","html_url":"https://github.com/lukasgeiter","followers_url":"https://api.github.com/users/lukasgeiter/followers","following_url":"https://api.github.com/users/lukasgeiter/following{/other_user}","gists_url":"https://api.github.com/users/lukasgeiter/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasgeiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasgeiter/subscriptions","organizations_url":"https://api.github.com/users/lukasgeiter/orgs","repos_url":"https://api.github.com/users/lukasgeiter/repos","events_url":"https://api.github.com/users/lukasgeiter/events{/privacy}","received_events_url":"https://api.github.com/users/lukasgeiter/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-08T20:00:33Z","updated_at":"2015-06-08T21:48:08Z","closed_at":"2015-06-08T21:44:46Z","pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/9143","html_url":"https://github.com/laravel/framework/pull/9143","diff_url":"https://github.com/laravel/framework/pull/9143.diff","patch_url":"https://github.com/laravel/framework/pull/9143.patch"},"body":"*Fixes #9138*\r\n\r\nThis adds `findOrFail` to `BelongsToMany` and `findOrFail`/`firstOrFail` to `HasManyThrough`"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/110151653","html_url":"https://github.com/laravel/framework/pull/9143#issuecomment-110151653","issue_url":"https://api.github.com/repos/laravel/framework/issues/9143","id":110151653,"user":{"login":"lukasgeiter","id":5907946,"avatar_url":"https://avatars.githubusercontent.com/u/5907946?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasgeiter","html_url":"https://github.com/lukasgeiter","followers_url":"https://api.github.com/users/lukasgeiter/followers","following_url":"https://api.github.com/users/lukasgeiter/following{/other_user}","gists_url":"https://api.github.com/users/lukasgeiter/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasgeiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasgeiter/subscriptions","organizations_url":"https://api.github.com/users/lukasgeiter/orgs","repos_url":"https://api.github.com/users/lukasgeiter/repos","events_url":"https://api.github.com/users/lukasgeiter/events{/privacy}","received_events_url":"https://api.github.com/users/lukasgeiter/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T21:48:08Z","updated_at":"2015-06-08T21:48:08Z","body":"I agree with you. Should we deprecate the two `find` methods then? "}}