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

Commit

Permalink
Merge pull request #35 from jamesryanbell/analysis-zOLLgR
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
jamesryanbell committed Aug 6, 2016
2 parents 697c5ae + 64475a7 commit d27456f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions src/CloudFlare/User/Organizations.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ class Organizations extends Api
public function organizations($status = null, $name = null, $page = null, $per_page = null, $order = null, $direction = null, $match = null)
{
$data = [
'status' => $status,
'name' => $name,
'page' => $page,
'per_page' => $per_page,
'order' => $order,
'direction' => $direction,
'match' => $match,
'status' => $status,
'name' => $name,
'page' => $page,
'per_page' => $per_page,
'order' => $order,
'direction' => $direction,
'match' => $match,
];

return $this->get('/user/organizations', $data);
Expand Down
14 changes: 7 additions & 7 deletions src/CloudFlare/Zone/Dns.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ public function details($zone_identifier, $identifier)
public function update($zone_identifier, $identifier, $type = null, $name = null, $content = null, $ttl = null, $proxied = null, $data = null, $priority = null)
{
$data = [
'type' => $type,
'name' => $name,
'content' => $content,
'ttl' => $ttl,
'proxied' => $proxied,
'priority' => $priority,
'data' => $data,
'type' => $type,
'name' => $name,
'content' => $content,
'ttl' => $ttl,
'proxied' => $proxied,
'priority' => $priority,
'data' => $data,
];

return $this->put('zones/'.$zone_identifier.'/dns_records/'.$identifier, $data);
Expand Down

0 comments on commit d27456f

Please sign in to comment.