{"action":"closed","number":1678,"pull_request":{"url":"https://api.github.com/repos/laravel/docs/pulls/1678","id":39922539,"html_url":"https://github.com/laravel/docs/pull/1678","diff_url":"https://github.com/laravel/docs/pull/1678.diff","patch_url":"https://github.com/laravel/docs/pull/1678.patch","issue_url":"https://api.github.com/repos/laravel/docs/issues/1678","number":1678,"state":"closed","locked":false,"title":"Fixed example to be like the code","user":{"login":"IvanDokov","id":2357455,"avatar_url":"https://avatars.githubusercontent.com/u/2357455?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanDokov","html_url":"https://github.com/IvanDokov","followers_url":"https://api.github.com/users/IvanDokov/followers","following_url":"https://api.github.com/users/IvanDokov/following{/other_user}","gists_url":"https://api.github.com/users/IvanDokov/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanDokov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanDokov/subscriptions","organizations_url":"https://api.github.com/users/IvanDokov/orgs","repos_url":"https://api.github.com/users/IvanDokov/repos","events_url":"https://api.github.com/users/IvanDokov/events{/privacy}","received_events_url":"https://api.github.com/users/IvanDokov/received_events","type":"User","site_admin":false},"body":"The real code and the documentation have slight difference.","created_at":"2015-07-14T14:39:56Z","updated_at":"2015-07-14T14:42:44Z","closed_at":"2015-07-14T14:42:44Z","merged_at":"2015-07-14T14:42:44Z","merge_commit_sha":"83e953ad6fac278e7e8056687f85b0ba55463fa2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/laravel/docs/pulls/1678/commits","review_comments_url":"https://api.github.com/repos/laravel/docs/pulls/1678/comments","review_comment_url":"https://api.github.com/repos/laravel/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/laravel/docs/issues/1678/comments","statuses_url":"https://api.github.com/repos/laravel/docs/statuses/228230ca7e8ba819d2c9aea3c44668823fa05f48","head":{"label":"IvanDokov:patch-1","ref":"patch-1","sha":"228230ca7e8ba819d2c9aea3c44668823fa05f48","user":{"login":"IvanDokov","id":2357455,"avatar_url":"https://avatars.githubusercontent.com/u/2357455?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanDokov","html_url":"https://github.com/IvanDokov","followers_url":"https://api.github.com/users/IvanDokov/followers","following_url":"https://api.github.com/users/IvanDokov/following{/other_user}","gists_url":"https://api.github.com/users/IvanDokov/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanDokov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanDokov/subscriptions","organizations_url":"https://api.github.com/users/IvanDokov/orgs","repos_url":"https://api.github.com/users/IvanDokov/repos","events_url":"https://api.github.com/users/IvanDokov/events{/privacy}","received_events_url":"https://api.github.com/users/IvanDokov/received_events","type":"User","site_admin":false},"repo":{"id":39080339,"name":"docs","full_name":"IvanDokov/docs","owner":{"login":"IvanDokov","id":2357455,"avatar_url":"https://avatars.githubusercontent.com/u/2357455?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanDokov","html_url":"https://github.com/IvanDokov","followers_url":"https://api.github.com/users/IvanDokov/followers","following_url":"https://api.github.com/users/IvanDokov/following{/other_user}","gists_url":"https://api.github.com/users/IvanDokov/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanDokov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanDokov/subscriptions","organizations_url":"https://api.github.com/users/IvanDokov/orgs","repos_url":"https://api.github.com/users/IvanDokov/repos","events_url":"https://api.github.com/users/IvanDokov/events{/privacy}","received_events_url":"https://api.github.com/users/IvanDokov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/IvanDokov/docs","description":"","fork":true,"url":"https://api.github.com/repos/IvanDokov/docs","forks_url":"https://api.github.com/repos/IvanDokov/docs/forks","keys_url":"https://api.github.com/repos/IvanDokov/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/IvanDokov/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/IvanDokov/docs/teams","hooks_url":"https://api.github.com/repos/IvanDokov/docs/hooks","issue_events_url":"https://api.github.com/repos/IvanDokov/docs/issues/events{/number}","events_url":"https://api.github.com/repos/IvanDokov/docs/events","assignees_url":"https://api.github.com/repos/IvanDokov/docs/assignees{/user}","branches_url":"https://api.github.com/repos/IvanDokov/docs/branches{/branch}","tags_url":"https://api.github.com/repos/IvanDokov/docs/tags","blobs_url":"https://api.github.com/repos/IvanDokov/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/IvanDokov/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/IvanDokov/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/IvanDokov/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/IvanDokov/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/IvanDokov/docs/languages","stargazers_url":"https://api.github.com/repos/IvanDokov/docs/stargazers","contributors_url":"https://api.github.com/repos/IvanDokov/docs/contributors","subscribers_url":"https://api.github.com/repos/IvanDokov/docs/subscribers","subscription_url":"https://api.github.com/repos/IvanDokov/docs/subscription","commits_url":"https://api.github.com/repos/IvanDokov/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/IvanDokov/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/IvanDokov/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/IvanDokov/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/IvanDokov/docs/contents/{+path}","compare_url":"https://api.github.com/repos/IvanDokov/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/IvanDokov/docs/merges","archive_url":"https://api.github.com/repos/IvanDokov/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/IvanDokov/docs/downloads","issues_url":"https://api.github.com/repos/IvanDokov/docs/issues{/number}","pulls_url":"https://api.github.com/repos/IvanDokov/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/IvanDokov/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/IvanDokov/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/IvanDokov/docs/labels{/name}","releases_url":"https://api.github.com/repos/IvanDokov/docs/releases{/id}","created_at":"2015-07-14T14:38:40Z","updated_at":"2015-07-13T08:08:08Z","pushed_at":"2015-07-14T14:39:49Z","git_url":"git://github.com/IvanDokov/docs.git","ssh_url":"git@github.com:IvanDokov/docs.git","clone_url":"https://github.com/IvanDokov/docs.git","svn_url":"https://github.com/IvanDokov/docs","homepage":"","size":14742,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"5.1"}},"base":{"label":"laravel:5.1","ref":"5.1","sha":"5316620aad051765e3f50b76a84c46fe50f23fc7","user":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"repo":{"id":7546847,"name":"docs","full_name":"laravel/docs","owner":{"login":"laravel","id":958072,"avatar_url":"https://avatars.githubusercontent.com/u/958072?v=3","gravatar_id":"","url":"https://api.github.com/users/laravel","html_url":"https://github.com/laravel","followers_url":"https://api.github.com/users/laravel/followers","following_url":"https://api.github.com/users/laravel/following{/other_user}","gists_url":"https://api.github.com/users/laravel/gists{/gist_id}","starred_url":"https://api.github.com/users/laravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laravel/subscriptions","organizations_url":"https://api.github.com/users/laravel/orgs","repos_url":"https://api.github.com/users/laravel/repos","events_url":"https://api.github.com/users/laravel/events{/privacy}","received_events_url":"https://api.github.com/users/laravel/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laravel/docs","description":"","fork":false,"url":"https://api.github.com/repos/laravel/docs","forks_url":"https://api.github.com/repos/laravel/docs/forks","keys_url":"https://api.github.com/repos/laravel/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laravel/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laravel/docs/teams","hooks_url":"https://api.github.com/repos/laravel/docs/hooks","issue_events_url":"https://api.github.com/repos/laravel/docs/issues/events{/number}","events_url":"https://api.github.com/repos/laravel/docs/events","assignees_url":"https://api.github.com/repos/laravel/docs/assignees{/user}","branches_url":"https://api.github.com/repos/laravel/docs/branches{/branch}","tags_url":"https://api.github.com/repos/laravel/docs/tags","blobs_url":"https://api.github.com/repos/laravel/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laravel/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laravel/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/laravel/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laravel/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/laravel/docs/languages","stargazers_url":"https://api.github.com/repos/laravel/docs/stargazers","contributors_url":"https://api.github.com/repos/laravel/docs/contributors","subscribers_url":"https://api.github.com/repos/laravel/docs/subscribers","subscription_url":"https://api.github.com/repos/laravel/docs/subscription","commits_url":"https://api.github.com/repos/laravel/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/laravel/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/laravel/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/laravel/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/laravel/docs/contents/{+path}","compare_url":"https://api.github.com/repos/laravel/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laravel/docs/merges","archive_url":"https://api.github.com/repos/laravel/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laravel/docs/downloads","issues_url":"https://api.github.com/repos/laravel/docs/issues{/number}","pulls_url":"https://api.github.com/repos/laravel/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/laravel/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/laravel/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laravel/docs/labels{/name}","releases_url":"https://api.github.com/repos/laravel/docs/releases{/id}","created_at":"2013-01-10T19:08:45Z","updated_at":"2015-07-13T08:08:08Z","pushed_at":"2015-07-14T14:42:44Z","git_url":"git://github.com/laravel/docs.git","ssh_url":"git@github.com:laravel/docs.git","clone_url":"https://github.com/laravel/docs.git","svn_url":"https://github.com/laravel/docs","homepage":"","size":14742,"stargazers_count":496,"watchers_count":496,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1258,"mirror_url":null,"open_issues_count":49,"forks":1258,"open_issues":49,"watchers":496,"default_branch":"5.1"}},"_links":{"self":{"href":"https://api.github.com/repos/laravel/docs/pulls/1678"},"html":{"href":"https://github.com/laravel/docs/pull/1678"},"issue":{"href":"https://api.github.com/repos/laravel/docs/issues/1678"},"comments":{"href":"https://api.github.com/repos/laravel/docs/issues/1678/comments"},"review_comments":{"href":"https://api.github.com/repos/laravel/docs/pulls/1678/comments"},"review_comment":{"href":"https://api.github.com/repos/laravel/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/laravel/docs/pulls/1678/commits"},"statuses":{"href":"https://api.github.com/repos/laravel/docs/statuses/228230ca7e8ba819d2c9aea3c44668823fa05f48"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"taylorotwell","id":463230,"avatar_url":"https://avatars.githubusercontent.com/u/463230?v=3","gravatar_id":"","url":"https://api.github.com/users/taylorotwell","html_url":"https://github.com/taylorotwell","followers_url":"https://api.github.com/users/taylorotwell/followers","following_url":"https://api.github.com/users/taylorotwell/following{/other_user}","gists_url":"https://api.github.com/users/taylorotwell/gists{/gist_id}","starred_url":"https://api.github.com/users/taylorotwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylorotwell/subscriptions","organizations_url":"https://api.github.com/users/taylorotwell/orgs","repos_url":"https://api.github.com/users/taylorotwell/repos","events_url":"https://api.github.com/users/taylorotwell/events{/privacy}","received_events_url":"https://api.github.com/users/taylorotwell/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}