Skip to content

Commit

Permalink
Stylistic changes in new CardCreateFromHash class and corresponding…
Browse files Browse the repository at this point in the history
… unit test
  • Loading branch information
DfKimera authored and XDUH committed Apr 20, 2017
1 parent d5ac43b commit 15e3ac9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Card/Request/CardCreateFromHash.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class CardCreateFromHash implements RequestInterface
*/
public function __construct($cardHash)
{
$this->cardHash = $cardHash;
$this->cardHash = $cardHash;
}

/**
Expand All @@ -25,7 +25,7 @@ public function __construct($cardHash)
public function getPayload()
{
return [
'card_hash' => $this->cardHash
'card_hash' => $this->cardHash
];
}

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/Card/Request/CardCreateFromHashTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

class CardCreateFromHashTest extends \PHPUnit_Framework_TestCase
{
const PATH = 'cards';
const PATH = 'cards';
const CARD_HASH = 'test_transaction_e8Ij0oYalvjTEO17IHqKxNQcigKrYj';

/**
Expand Down

0 comments on commit 15e3ac9

Please sign in to comment.