Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkerpeter committed Nov 9, 2016
1 parent 6eab32a commit 455c781
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Message/PurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ public function getData() {
}

if ($card = $this->getCard()) {
$firstLetterInWord = function($word) {
return strtoupper(substr($word, 0, 1));
};

$addressParts = [];
preg_match($this->addressRegex, $card->getBillingAddress1(), $addressParts);
$addressParts = array_filter($addressParts, 'trim');
Expand Down

0 comments on commit 455c781

Please sign in to comment.