Skip to content

Commit

Permalink
Merge pull request #5 from mannysoft/master
Browse files Browse the repository at this point in the history
Change composer install
  • Loading branch information
Christian Blanquera authored Mar 23, 2018
2 parents 1baaeac + 7acbf7e commit 4be7472
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"name": "globelabs/globe-connect-php",
"name": "mannysoft/globe-connect-php",
"description": "Globe Api",
"require": {
"php": "^5.3.3"
"php": ">=7.0.0"
},
"autoload": {
"psr-4": {
"Globe\\": "src/"
}
}
}
4 changes: 2 additions & 2 deletions src/Globe/Connect/Sms.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ public function sendMessage() {

// prepare request payload
$payload = array('outboundSMSMessageRequest' => array(
'senderAddress' => 'tel:' . $this->params['sender'],
'senderAddress' => $this->params['sender'],
'outboundSMSTextMessage' => array(
'message' => $this->params['message']),
'address' => 'tel:' . $this->params['receiver_address']));
'address' => $this->params['receiver_address']));

// if client correlator is set
if(isset($this->params['client_correlator'])) {
Expand Down

0 comments on commit 4be7472

Please sign in to comment.