From 004fe7a8e47faca49d8e1fd1a7ce73720c54871b Mon Sep 17 00:00:00 2001 From: Simon Asika Date: Sun, 1 Mar 2015 17:58:22 +0800 Subject: [PATCH] Update misc --- src/LaterPaymentFeedback.php | 2 +- src/PaidReceiver.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LaterPaymentFeedback.php b/src/LaterPaymentFeedback.php index 7ce226f..3279a19 100644 --- a/src/LaterPaymentFeedback.php +++ b/src/LaterPaymentFeedback.php @@ -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)) { diff --git a/src/PaidReceiver.php b/src/PaidReceiver.php index 3f5f1e5..53836ed 100644 --- a/src/PaidReceiver.php +++ b/src/PaidReceiver.php @@ -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)) {