Skip to content

Commit

Permalink
Coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
drewm committed Apr 23, 2016
1 parent 09df9b8 commit 0726473
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Batch.php
Expand Up @@ -29,7 +29,7 @@ public function __construct(MailChimp $MailChimp, $batch_id = null)
*/
public function delete($id, $method)
{
$this->queue_operation('DELETE', $id, $method);
$this->queueOperation('DELETE', $id, $method);
}

/**
Expand All @@ -41,7 +41,7 @@ public function delete($id, $method)
*/
public function get($id, $method, $args = array())
{
$this->queue_operation('GET', $id, $method, $args);
$this->queueOperation('GET', $id, $method, $args);
}

/**
Expand All @@ -53,7 +53,7 @@ public function get($id, $method, $args = array())
*/
public function patch($id, $method, $args = array())
{
$this->queue_operation('PATCH', $id, $method, $args);
$this->queueOperation('PATCH', $id, $method, $args);
}

/**
Expand All @@ -65,7 +65,7 @@ public function patch($id, $method, $args = array())
*/
public function post($id, $method, $args = array())
{
$this->queue_operation('POST', $id, $method, $args);
$this->queueOperation('POST', $id, $method, $args);
}

/**
Expand All @@ -77,7 +77,7 @@ public function post($id, $method, $args = array())
*/
public function put($id, $method, $args = array())
{
$this->queue_operation('PUT', $id, $method, $args);
$this->queueOperation('PUT', $id, $method, $args);
}

/**
Expand Down Expand Up @@ -121,7 +121,7 @@ public function check_status($batch_id = null)
* @param array $args Assoc array of arguments (usually your data)
* @return void
*/
private function queue_operation($http_verb, $id, $method, $args = null)
private function queueOperation($http_verb, $id, $method, $args = null)
{
$operation = array(
'operation_id' => $id,
Expand Down

0 comments on commit 0726473

Please sign in to comment.