summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHannes Kindströmmer <hannes@kindstrommer.se>2017-03-16 11:36:49 +0100
committerHannes Kindströmmer <hannes@kindstrommer.se>2017-03-16 11:36:49 +0100
commit401c829a1ded22265d9152ed4d34e0bfb58ddda3 (patch)
tree6577a07408ec84c20e7f1445ad07eff8ed1bcbcc /src
parent48917cec0cd168a4b071fa814a796559ed3590a7 (diff)
downloadip1-php-sdk-401c829a1ded22265d9152ed4d34e0bfb58ddda3.zip
ip1-php-sdk-401c829a1ded22265d9152ed4d34e0bfb58ddda3.tar.gz
ip1-php-sdk-401c829a1ded22265d9152ed4d34e0bfb58ddda3.tar.bz2
Fixed issue #6
Signed-off-by: Hannes Kindströmmer <hannes@kindstrommer.se>
Diffstat (limited to 'src')
-rw-r--r--src/Recipient/RecipientFactory.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Recipient/RecipientFactory.php b/src/Recipient/RecipientFactory.php
index 4bfae7b..05de224 100644
--- a/src/Recipient/RecipientFactory.php
+++ b/src/Recipient/RecipientFactory.php
@@ -224,8 +224,8 @@ class RecipientFactory
$stdClassSMS->Message,
$stdClassSMS->To,
$stdClassSMS->ID,
- new DateTime($stdClassSMS->Created),
- new DateTime($stdClassSMS->Updated),
+ new \DateTime($stdClassSMS->Created),
+ new \DateTime($stdClassSMS->Updated),
$stdClassSMS->Status,
$stdClassSMS->StatusDescription,
$stdClassSMS->BundleID