Skip to content

Commit

Permalink
UBR-353: More indentation fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bertramakers committed Nov 19, 2015
1 parent 2c0654c commit b9a06fb
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions CultureFeed/CultureFeed/Uitpas/Default.php
Original file line number Diff line number Diff line change
Expand Up @@ -991,21 +991,23 @@ public function cancelTicketSale($uitpas_number, $cdbid, $consumer_key_counter =
}
}

/**
* {@inheritdoc}
*/
public function cancelTicketSaleById($ticketId, $consumer_key_counter = NULL)
{
$data = array();

if ($consumer_key_counter) {
$data['balieConsumerKey'] = $consumer_key_counter;
}
/**
* {@inheritdoc}
*/
public function cancelTicketSaleById($ticketId, $consumer_key_counter = NULL) {
$data = array();

$this->oauth_client->authenticatedPostAsXml('uitpas/cultureevent/cancel/' . $ticketId, $data);
if ($consumer_key_counter) {
$data['balieConsumerKey'] = $consumer_key_counter;
}

public function getPassholderForTicketSale( CultureFeed_Uitpas_Event_TicketSale $ts, $consumer_key_counter = NULL ) {
$this->oauth_client->authenticatedPostAsXml('uitpas/cultureevent/cancel/' . $ticketId, $data);
}

/**
* @inheritdoc
*/
public function getPassholderForTicketSale( CultureFeed_Uitpas_Event_TicketSale $ts, $consumer_key_counter = NULL ) {
$user_id = $ts->userId;
return $this->getPassholderByUser($user_id, $consumer_key_counter);
}
Expand Down

0 comments on commit b9a06fb

Please sign in to comment.