{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/loevgaard/dandomain-api/pulls/1","id":167655284,"html_url":"https://github.com/loevgaard/dandomain-api/pull/1","diff_url":"https://github.com/loevgaard/dandomain-api/pull/1.diff","patch_url":"https://github.com/loevgaard/dandomain-api/pull/1.patch","issue_url":"https://api.github.com/repos/loevgaard/dandomain-api/issues/1","number":1,"state":"open","locked":false,"title":"Use $this->getClient instead of $this->client","user":{"login":"borch-inc","id":12048299,"avatar_url":"https://avatars3.githubusercontent.com/u/12048299?v=4","gravatar_id":"","url":"https://api.github.com/users/borch-inc","html_url":"https://github.com/borch-inc","followers_url":"https://api.github.com/users/borch-inc/followers","following_url":"https://api.github.com/users/borch-inc/following{/other_user}","gists_url":"https://api.github.com/users/borch-inc/gists{/gist_id}","starred_url":"https://api.github.com/users/borch-inc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borch-inc/subscriptions","organizations_url":"https://api.github.com/users/borch-inc/orgs","repos_url":"https://api.github.com/users/borch-inc/repos","events_url":"https://api.github.com/users/borch-inc/events{/privacy}","received_events_url":"https://api.github.com/users/borch-inc/received_events","type":"User","site_admin":false},"body":"Since `$this->client` can be null, and the method `$this->getClient` check if `$this->client` is null, and create a new instance of the `Client` class if that's the case.","created_at":"2018-02-07T10:39:00Z","updated_at":"2018-02-07T10:39:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/loevgaard/dandomain-api/pulls/1/commits","review_comments_url":"https://api.github.com/repos/loevgaard/dandomain-api/pulls/1/comments","review_comment_url":"https://api.github.com/repos/loevgaard/dandomain-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/loevgaard/dandomain-api/issues/1/comments","statuses_url":"https://api.github.com/repos/loevgaard/dandomain-api/statuses/d691f0ba4dc41e161889348bb3a1593b52d79cac","head":{"label":"borch-inc:patch-1","ref":"patch-1","sha":"d691f0ba4dc41e161889348bb3a1593b52d79cac","user":{"login":"borch-inc","id":12048299,"avatar_url":"https://avatars3.githubusercontent.com/u/12048299?v=4","gravatar_id":"","url":"https://api.github.com/users/borch-inc","html_url":"https://github.com/borch-inc","followers_url":"https://api.github.com/users/borch-inc/followers","following_url":"https://api.github.com/users/borch-inc/following{/other_user}","gists_url":"https://api.github.com/users/borch-inc/gists{/gist_id}","starred_url":"https://api.github.com/users/borch-inc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borch-inc/subscriptions","organizations_url":"https://api.github.com/users/borch-inc/orgs","repos_url":"https://api.github.com/users/borch-inc/repos","events_url":"https://api.github.com/users/borch-inc/events{/privacy}","received_events_url":"https://api.github.com/users/borch-inc/received_events","type":"User","site_admin":false},"repo":{"id":120601218,"name":"dandomain-api","full_name":"borch-inc/dandomain-api","owner":{"login":"borch-inc","id":12048299,"avatar_url":"https://avatars3.githubusercontent.com/u/12048299?v=4","gravatar_id":"","url":"https://api.github.com/users/borch-inc","html_url":"https://github.com/borch-inc","followers_url":"https://api.github.com/users/borch-inc/followers","following_url":"https://api.github.com/users/borch-inc/following{/other_user}","gists_url":"https://api.github.com/users/borch-inc/gists{/gist_id}","starred_url":"https://api.github.com/users/borch-inc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borch-inc/subscriptions","organizations_url":"https://api.github.com/users/borch-inc/orgs","repos_url":"https://api.github.com/users/borch-inc/repos","events_url":"https://api.github.com/users/borch-inc/events{/privacy}","received_events_url":"https://api.github.com/users/borch-inc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/borch-inc/dandomain-api","description":null,"fork":true,"url":"https://api.github.com/repos/borch-inc/dandomain-api","forks_url":"https://api.github.com/repos/borch-inc/dandomain-api/forks","keys_url":"https://api.github.com/repos/borch-inc/dandomain-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borch-inc/dandomain-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borch-inc/dandomain-api/teams","hooks_url":"https://api.github.com/repos/borch-inc/dandomain-api/hooks","issue_events_url":"https://api.github.com/repos/borch-inc/dandomain-api/issues/events{/number}","events_url":"https://api.github.com/repos/borch-inc/dandomain-api/events","assignees_url":"https://api.github.com/repos/borch-inc/dandomain-api/assignees{/user}","branches_url":"https://api.github.com/repos/borch-inc/dandomain-api/branches{/branch}","tags_url":"https://api.github.com/repos/borch-inc/dandomain-api/tags","blobs_url":"https://api.github.com/repos/borch-inc/dandomain-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borch-inc/dandomain-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borch-inc/dandomain-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/borch-inc/dandomain-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borch-inc/dandomain-api/statuses/{sha}","languages_url":"https://api.github.com/repos/borch-inc/dandomain-api/languages","stargazers_url":"https://api.github.com/repos/borch-inc/dandomain-api/stargazers","contributors_url":"https://api.github.com/repos/borch-inc/dandomain-api/contributors","subscribers_url":"https://api.github.com/repos/borch-inc/dandomain-api/subscribers","subscription_url":"https://api.github.com/repos/borch-inc/dandomain-api/subscription","commits_url":"https://api.github.com/repos/borch-inc/dandomain-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/borch-inc/dandomain-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/borch-inc/dandomain-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/borch-inc/dandomain-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/borch-inc/dandomain-api/contents/{+path}","compare_url":"https://api.github.com/repos/borch-inc/dandomain-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borch-inc/dandomain-api/merges","archive_url":"https://api.github.com/repos/borch-inc/dandomain-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borch-inc/dandomain-api/downloads","issues_url":"https://api.github.com/repos/borch-inc/dandomain-api/issues{/number}","pulls_url":"https://api.github.com/repos/borch-inc/dandomain-api/pulls{/number}","milestones_url":"https://api.github.com/repos/borch-inc/dandomain-api/milestones{/number}","notifications_url":"https://api.github.com/repos/borch-inc/dandomain-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borch-inc/dandomain-api/labels{/name}","releases_url":"https://api.github.com/repos/borch-inc/dandomain-api/releases{/id}","deployments_url":"https://api.github.com/repos/borch-inc/dandomain-api/deployments","created_at":"2018-02-07T10:36:36Z","updated_at":"2018-02-07T10:36:38Z","pushed_at":"2018-02-07T10:38:51Z","git_url":"git://github.com/borch-inc/dandomain-api.git","ssh_url":"git@github.com:borch-inc/dandomain-api.git","clone_url":"https://github.com/borch-inc/dandomain-api.git","svn_url":"https://github.com/borch-inc/dandomain-api","homepage":null,"size":145,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"loevgaard:master","ref":"master","sha":"1479a4067a235d2822a4df8fa0bac6365a9fe1b3","user":{"login":"loevgaard","id":2412177,"avatar_url":"https://avatars2.githubusercontent.com/u/2412177?v=4","gravatar_id":"","url":"https://api.github.com/users/loevgaard","html_url":"https://github.com/loevgaard","followers_url":"https://api.github.com/users/loevgaard/followers","following_url":"https://api.github.com/users/loevgaard/following{/other_user}","gists_url":"https://api.github.com/users/loevgaard/gists{/gist_id}","starred_url":"https://api.github.com/users/loevgaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loevgaard/subscriptions","organizations_url":"https://api.github.com/users/loevgaard/orgs","repos_url":"https://api.github.com/users/loevgaard/repos","events_url":"https://api.github.com/users/loevgaard/events{/privacy}","received_events_url":"https://api.github.com/users/loevgaard/received_events","type":"User","site_admin":false},"repo":{"id":25786627,"name":"dandomain-api","full_name":"loevgaard/dandomain-api","owner":{"login":"loevgaard","id":2412177,"avatar_url":"https://avatars2.githubusercontent.com/u/2412177?v=4","gravatar_id":"","url":"https://api.github.com/users/loevgaard","html_url":"https://github.com/loevgaard","followers_url":"https://api.github.com/users/loevgaard/followers","following_url":"https://api.github.com/users/loevgaard/following{/other_user}","gists_url":"https://api.github.com/users/loevgaard/gists{/gist_id}","starred_url":"https://api.github.com/users/loevgaard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loevgaard/subscriptions","organizations_url":"https://api.github.com/users/loevgaard/orgs","repos_url":"https://api.github.com/users/loevgaard/repos","events_url":"https://api.github.com/users/loevgaard/events{/privacy}","received_events_url":"https://api.github.com/users/loevgaard/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/loevgaard/dandomain-api","description":null,"fork":false,"url":"https://api.github.com/repos/loevgaard/dandomain-api","forks_url":"https://api.github.com/repos/loevgaard/dandomain-api/forks","keys_url":"https://api.github.com/repos/loevgaard/dandomain-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/loevgaard/dandomain-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/loevgaard/dandomain-api/teams","hooks_url":"https://api.github.com/repos/loevgaard/dandomain-api/hooks","issue_events_url":"https://api.github.com/repos/loevgaard/dandomain-api/issues/events{/number}","events_url":"https://api.github.com/repos/loevgaard/dandomain-api/events","assignees_url":"https://api.github.com/repos/loevgaard/dandomain-api/assignees{/user}","branches_url":"https://api.github.com/repos/loevgaard/dandomain-api/branches{/branch}","tags_url":"https://api.github.com/repos/loevgaard/dandomain-api/tags","blobs_url":"https://api.github.com/repos/loevgaard/dandomain-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/loevgaard/dandomain-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/loevgaard/dandomain-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/loevgaard/dandomain-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/loevgaard/dandomain-api/statuses/{sha}","languages_url":"https://api.github.com/repos/loevgaard/dandomain-api/languages","stargazers_url":"https://api.github.com/repos/loevgaard/dandomain-api/stargazers","contributors_url":"https://api.github.com/repos/loevgaard/dandomain-api/contributors","subscribers_url":"https://api.github.com/repos/loevgaard/dandomain-api/subscribers","subscription_url":"https://api.github.com/repos/loevgaard/dandomain-api/subscription","commits_url":"https://api.github.com/repos/loevgaard/dandomain-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/loevgaard/dandomain-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/loevgaard/dandomain-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/loevgaard/dandomain-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/loevgaard/dandomain-api/contents/{+path}","compare_url":"https://api.github.com/repos/loevgaard/dandomain-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/loevgaard/dandomain-api/merges","archive_url":"https://api.github.com/repos/loevgaard/dandomain-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/loevgaard/dandomain-api/downloads","issues_url":"https://api.github.com/repos/loevgaard/dandomain-api/issues{/number}","pulls_url":"https://api.github.com/repos/loevgaard/dandomain-api/pulls{/number}","milestones_url":"https://api.github.com/repos/loevgaard/dandomain-api/milestones{/number}","notifications_url":"https://api.github.com/repos/loevgaard/dandomain-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/loevgaard/dandomain-api/labels{/name}","releases_url":"https://api.github.com/repos/loevgaard/dandomain-api/releases{/id}","deployments_url":"https://api.github.com/repos/loevgaard/dandomain-api/deployments","created_at":"2014-10-26T19:00:04Z","updated_at":"2018-01-31T07:03:49Z","pushed_at":"2018-02-06T08:00:03Z","git_url":"git://github.com/loevgaard/dandomain-api.git","ssh_url":"git@github.com:loevgaard/dandomain-api.git","clone_url":"https://github.com/loevgaard/dandomain-api.git","svn_url":"https://github.com/loevgaard/dandomain-api","homepage":null,"size":145,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/loevgaard/dandomain-api/pulls/1"},"html":{"href":"https://github.com/loevgaard/dandomain-api/pull/1"},"issue":{"href":"https://api.github.com/repos/loevgaard/dandomain-api/issues/1"},"comments":{"href":"https://api.github.com/repos/loevgaard/dandomain-api/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/loevgaard/dandomain-api/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/loevgaard/dandomain-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/loevgaard/dandomain-api/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/loevgaard/dandomain-api/statuses/d691f0ba4dc41e161889348bb3a1593b52d79cac"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"borch-inc"}}