Skip to content
This repository was archived by the owner on Nov 2, 2022. It is now read-only.

Commit

Permalink
Bug fixes for issues found with scrutinizer ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesryanbell committed Jul 20, 2016
1 parent 9bb09c1 commit 67d7a5d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "jamesryanbell/cloudflare",
"description": "CloudFlare API - PHP",
"license": "MIT",
"version": "1.6.9",
"version": "1.6.10",
"keywords": ["cloudflare", "api"],
"authors": [
{
Expand Down
4 changes: 2 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function rules($organization_id, $mode = null, $configuration_target = nu
'direction' => $direction,
'match' => $match,
];
return $this->get('organizations/'.$organization_id.'/firewall/access_rules/rules');
return $this->get('organizations/'.$organization_id.'/firewall/access_rules/rules', $data);
}

/**
Expand Down
5 changes: 4 additions & 1 deletion src/CloudFlare/User/Invites.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public function details($identifier)
*/
public function respond($identifier, $status)
{
return $this->patch('/user/invites/'.$identifier);
$data = [
'status' => $status,
];
return $this->patch('/user/invites/'.$identifier, $data);
}
}

0 comments on commit 67d7a5d

Please sign in to comment.