From 455c781cc6ae597566747f01f51b9009332351ca Mon Sep 17 00:00:00 2001 From: Peter Date: Wed, 9 Nov 2016 11:40:20 +0100 Subject: [PATCH] cleanup --- src/Message/PurchaseRequest.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Message/PurchaseRequest.php b/src/Message/PurchaseRequest.php index 2f7ccc8..f3dd90d 100644 --- a/src/Message/PurchaseRequest.php +++ b/src/Message/PurchaseRequest.php @@ -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');