{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/comments/69597725","id":69597725,"diff_hunk":"@@ -70,11 +70,12 @@ protected function getURI()\n         $snapshot   = $this->snapshot;\n         $uri        = \"/_snapshot/_status\";\n \n-        if (isset($repository) === true) {\n-            $uri = \"/_snapshot/$repository/_status\";\n-        } elseif (isset($repository) === true && isset($snapshot) === true) {\n+        if (isset($repository, $snapshot)) {","path":"src/Elasticsearch/Endpoints/Snapshot/Status.php","position":16,"original_position":16,"commit_id":"9ba103ddb707c50fe3d851448e97b786c7bca5ac","original_commit_id":"9ba103ddb707c50fe3d851448e97b786c7bca5ac","user":{"login":"polyfractal","id":1224228,"avatar_url":"https://avatars.githubusercontent.com/u/1224228?v=3","gravatar_id":"","url":"https://api.github.com/users/polyfractal","html_url":"https://github.com/polyfractal","followers_url":"https://api.github.com/users/polyfractal/followers","following_url":"https://api.github.com/users/polyfractal/following{/other_user}","gists_url":"https://api.github.com/users/polyfractal/gists{/gist_id}","starred_url":"https://api.github.com/users/polyfractal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polyfractal/subscriptions","organizations_url":"https://api.github.com/users/polyfractal/orgs","repos_url":"https://api.github.com/users/polyfractal/repos","events_url":"https://api.github.com/users/polyfractal/events{/privacy}","received_events_url":"https://api.github.com/users/polyfractal/received_events","type":"User","site_admin":false},"body":"Same here:  `isset($repository, $snapshot) === true`\r\n\r\nAnd below too vvvvvv","created_at":"2016-07-05T16:48:02Z","updated_at":"2016-07-05T16:48:02Z","html_url":"https://github.com/elastic/elasticsearch-php/pull/426#discussion_r69597725","pull_request_url":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/426","_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/comments/69597725"},"html":{"href":"https://github.com/elastic/elasticsearch-php/pull/426#discussion_r69597725"},"pull_request":{"href":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/426"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/426","id":75491878,"html_url":"https://github.com/elastic/elasticsearch-php/pull/426","diff_url":"https://github.com/elastic/elasticsearch-php/pull/426.diff","patch_url":"https://github.com/elastic/elasticsearch-php/pull/426.patch","issue_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/426","number":426,"state":"open","locked":false,"title":"Fixed snapshot uri","user":{"login":"cyrildev","id":1921380,"avatar_url":"https://avatars.githubusercontent.com/u/1921380?v=3","gravatar_id":"","url":"https://api.github.com/users/cyrildev","html_url":"https://github.com/cyrildev","followers_url":"https://api.github.com/users/cyrildev/followers","following_url":"https://api.github.com/users/cyrildev/following{/other_user}","gists_url":"https://api.github.com/users/cyrildev/gists{/gist_id}","starred_url":"https://api.github.com/users/cyrildev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyrildev/subscriptions","organizations_url":"https://api.github.com/users/cyrildev/orgs","repos_url":"https://api.github.com/users/cyrildev/repos","events_url":"https://api.github.com/users/cyrildev/events{/privacy}","received_events_url":"https://api.github.com/users/cyrildev/received_events","type":"User","site_admin":false},"body":"<!--\r\n\r\nThanks for the Pull Request!  Before you submit the PR, please\r\nlook over this checklist:\r\n\r\n- Have you signed [Contributor License Agreement](http://www.elasticsearch.org/contributor-agreement/)?\r\nPR's (no matter how small) cannot be merged until the CLA has been signed.  It only needs to be signed once,\r\nhowever.\r\nThe form is broken\r\n- Have you read the [Contributing Guidelines](https://github.com/elastic/elasticsearch-php/blob/master/.github/CONTRIBUTING.md)?\r\nYes\r\nIf you answered yes to both, thanks for the PR and we'll get to it ASAP! :)\r\n\r\n-->\r\n","created_at":"2016-06-28T14:54:35Z","updated_at":"2016-07-05T16:48:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e9c27629c8bef1ef324136b26d274d8d0ccc2f1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/426/commits","review_comments_url":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/426/comments","review_comment_url":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/426/comments","statuses_url":"https://api.github.com/repos/elastic/elasticsearch-php/statuses/9ba103ddb707c50fe3d851448e97b786c7bca5ac","head":{"label":"cyrildev:master","ref":"master","sha":"9ba103ddb707c50fe3d851448e97b786c7bca5ac","user":{"login":"cyrildev","id":1921380,"avatar_url":"https://avatars.githubusercontent.com/u/1921380?v=3","gravatar_id":"","url":"https://api.github.com/users/cyrildev","html_url":"https://github.com/cyrildev","followers_url":"https://api.github.com/users/cyrildev/followers","following_url":"https://api.github.com/users/cyrildev/following{/other_user}","gists_url":"https://api.github.com/users/cyrildev/gists{/gist_id}","starred_url":"https://api.github.com/users/cyrildev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyrildev/subscriptions","organizations_url":"https://api.github.com/users/cyrildev/orgs","repos_url":"https://api.github.com/users/cyrildev/repos","events_url":"https://api.github.com/users/cyrildev/events{/privacy}","received_events_url":"https://api.github.com/users/cyrildev/received_events","type":"User","site_admin":false},"repo":{"id":62145813,"name":"elasticsearch-php","full_name":"cyrildev/elasticsearch-php","owner":{"login":"cyrildev","id":1921380,"avatar_url":"https://avatars.githubusercontent.com/u/1921380?v=3","gravatar_id":"","url":"https://api.github.com/users/cyrildev","html_url":"https://github.com/cyrildev","followers_url":"https://api.github.com/users/cyrildev/followers","following_url":"https://api.github.com/users/cyrildev/following{/other_user}","gists_url":"https://api.github.com/users/cyrildev/gists{/gist_id}","starred_url":"https://api.github.com/users/cyrildev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyrildev/subscriptions","organizations_url":"https://api.github.com/users/cyrildev/orgs","repos_url":"https://api.github.com/users/cyrildev/repos","events_url":"https://api.github.com/users/cyrildev/events{/privacy}","received_events_url":"https://api.github.com/users/cyrildev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cyrildev/elasticsearch-php","description":"Official PHP low-level client for Elasticsearch.","fork":true,"url":"https://api.github.com/repos/cyrildev/elasticsearch-php","forks_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/forks","keys_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/teams","hooks_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/hooks","issue_events_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/issues/events{/number}","events_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/events","assignees_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/assignees{/user}","branches_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/branches{/branch}","tags_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/tags","blobs_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/statuses/{sha}","languages_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/languages","stargazers_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/stargazers","contributors_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/contributors","subscribers_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/subscribers","subscription_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/subscription","commits_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/contents/{+path}","compare_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/merges","archive_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/downloads","issues_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/issues{/number}","pulls_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/pulls{/number}","milestones_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/milestones{/number}","notifications_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/labels{/name}","releases_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/releases{/id}","deployments_url":"https://api.github.com/repos/cyrildev/elasticsearch-php/deployments","created_at":"2016-06-28T14:04:28Z","updated_at":"2016-06-28T14:04:29Z","pushed_at":"2016-06-28T14:44:55Z","git_url":"git://github.com/cyrildev/elasticsearch-php.git","ssh_url":"git@github.com:cyrildev/elasticsearch-php.git","clone_url":"https://github.com/cyrildev/elasticsearch-php.git","svn_url":"https://github.com/cyrildev/elasticsearch-php","homepage":"https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/index.html","size":2129,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"elastic:master","ref":"master","sha":"6bae671ac9ee625c7fa360ed1476e470876148f1","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":9826184,"name":"elasticsearch-php","full_name":"elastic/elasticsearch-php","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/elasticsearch-php","description":"Official PHP low-level client for Elasticsearch.","fork":false,"url":"https://api.github.com/repos/elastic/elasticsearch-php","forks_url":"https://api.github.com/repos/elastic/elasticsearch-php/forks","keys_url":"https://api.github.com/repos/elastic/elasticsearch-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/elasticsearch-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/elasticsearch-php/teams","hooks_url":"https://api.github.com/repos/elastic/elasticsearch-php/hooks","issue_events_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/elasticsearch-php/events","assignees_url":"https://api.github.com/repos/elastic/elasticsearch-php/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/elasticsearch-php/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/elasticsearch-php/tags","blobs_url":"https://api.github.com/repos/elastic/elasticsearch-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/elasticsearch-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/elasticsearch-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/elasticsearch-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/elasticsearch-php/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/elasticsearch-php/languages","stargazers_url":"https://api.github.com/repos/elastic/elasticsearch-php/stargazers","contributors_url":"https://api.github.com/repos/elastic/elasticsearch-php/contributors","subscribers_url":"https://api.github.com/repos/elastic/elasticsearch-php/subscribers","subscription_url":"https://api.github.com/repos/elastic/elasticsearch-php/subscription","commits_url":"https://api.github.com/repos/elastic/elasticsearch-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/elasticsearch-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/elasticsearch-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/elasticsearch-php/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/elasticsearch-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/elasticsearch-php/merges","archive_url":"https://api.github.com/repos/elastic/elasticsearch-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/elasticsearch-php/downloads","issues_url":"https://api.github.com/repos/elastic/elasticsearch-php/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/elasticsearch-php/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/elasticsearch-php/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/elasticsearch-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/elasticsearch-php/labels{/name}","releases_url":"https://api.github.com/repos/elastic/elasticsearch-php/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/elasticsearch-php/deployments","created_at":"2013-05-03T01:25:46Z","updated_at":"2016-07-05T07:47:32Z","pushed_at":"2016-06-28T14:54:36Z","git_url":"git://github.com/elastic/elasticsearch-php.git","ssh_url":"git@github.com:elastic/elasticsearch-php.git","clone_url":"https://github.com/elastic/elasticsearch-php.git","svn_url":"https://github.com/elastic/elasticsearch-php","homepage":"https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/index.html","size":3148,"stargazers_count":1157,"watchers_count":1157,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":283,"mirror_url":null,"open_issues_count":37,"forks":283,"open_issues":37,"watchers":1157,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/426"},"html":{"href":"https://github.com/elastic/elasticsearch-php/pull/426"},"issue":{"href":"https://api.github.com/repos/elastic/elasticsearch-php/issues/426"},"comments":{"href":"https://api.github.com/repos/elastic/elasticsearch-php/issues/426/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/426/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/elasticsearch-php/pulls/426/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/elasticsearch-php/statuses/9ba103ddb707c50fe3d851448e97b786c7bca5ac"}}}}
{"actor":{"display_login":"polyfractal"}}