Skip to content

Commit

Permalink
Apply fixes from StyleCI (overtrue#178)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
overtrue authored Apr 9, 2019
1 parent 72ec8e1 commit 58bfc0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Gateways/QcloudGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ public function send(PhoneNumberInterface $to, MessageInterface $message, Config
$signName = !empty($data['sign_name']) ? $data['sign_name'] : $config->get('sign_name', '');

unset($data['sign_name']);

$msg = $message->getContent($this);
if (!empty($msg) && mb_substr($msg, 0, 1) != '' && !empty($signName)) {
$msg = '' . $signName . '' . $msg;
if (!empty($msg) && '' != mb_substr($msg, 0, 1) && !empty($signName)) {
$msg = ''.$signName.''.$msg;
}

$type = !empty($data['type']) ? $data['type'] : 0;
Expand Down

0 comments on commit 58bfc0b

Please sign in to comment.