Skip to content

Commit

Permalink
Update misc
Browse files Browse the repository at this point in the history
  • Loading branch information
asika32764 committed Mar 1, 2015
1 parent 50461c5 commit 004fe7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/LaterPaymentFeedback.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function __get($name)
return $this->payment;
}

$class = __NAMESPACE__ . '\Feedback\\' . ucfirst($this->getPaymentType());
$class = __NAMESPACE__ . '\Feedback\\' . ucfirst(strtolower($this->getPaymentType()));

if (!class_exists($class))
{
Expand Down
2 changes: 1 addition & 1 deletion src/PaidReceiver.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function __get($name)
return $this->payment;
}

$class = __NAMESPACE__ . '\Receiver\\' . ucfirst($this->getPaymentType());
$class = __NAMESPACE__ . '\Receiver\\' . ucfirst(strtolower($this->getPaymentType()));

if (!class_exists($class))
{
Expand Down

0 comments on commit 004fe7a

Please sign in to comment.