Skip to content

Commit

Permalink
Merge pull request #2 from anomalylab/master
Browse files Browse the repository at this point in the history
Master
  • Loading branch information
Bill Li authored Mar 27, 2018
2 parents 9b0491a + 9c75552 commit 91478e5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@
"require": {
"php": ">=7.1",
"guzzlehttp/guzzle": "^6.2",
"nicmart/string-template": "~0.1",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0"
"nicmart/string-template": "~0.1"
},
"require-dev": {
"mockery/mockery": "~1.0",
"phpunit/phpunit": "~7.0"
},
"autoload": {
"psr-4": {
"AnomalyLab\\LuminousSMS\\": "src/"
Expand Down
6 changes: 4 additions & 2 deletions src/Exceptions/HandlerBadException.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
* Class HandlerBadException
*
* @link https://anomaly.ink
*
* @author Anomaly lab, Inc <[email protected]>
* @author Bill Li <[email protected]>
*
* @package AnomalyLab\LuminousSMS\Exceptions\HandlerBadException
*/
class HandlerBadException extends Exception
{

}
}
4 changes: 1 addition & 3 deletions src/Handlers/Sendcloud.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
*/
class Sendcloud extends Handler
{
use HasHttpRequest;

const REQUEST_TEMPLATE = 'http://www.sendcloud.net/smsapi/%s';

/**
Expand Down Expand Up @@ -90,4 +88,4 @@ protected function sign($params, $key)
ksort($params);
return md5(sprintf('%s&%s&%s', $key, urldecode(http_build_query($params)), $key));
}
}
}

0 comments on commit 91478e5

Please sign in to comment.