Skip to content

Commit

Permalink
Merge pull request #55 from laravel-notification-channels/analysis-q5…
Browse files Browse the repository at this point in the history
…jEox

Apply fixes from StyleCI
  • Loading branch information
gregoriohc committed Mar 4, 2019
2 parents 9876810 + 0f69e62 commit 4554feb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions src/Twilio.php
Expand Up @@ -76,7 +76,7 @@ protected function sendSmsMessage(TwilioSmsMessage $message, $to)
$params['from'] = $from;
}

if (!$from && !$messagingServiceSid) {
if (! $from && ! $messagingServiceSid) {
throw CouldNotSendNotification::missingFrom();
}

Expand Down Expand Up @@ -164,8 +164,6 @@ protected function getAlphanumericSender()
if ($sender = $this->config->getAlphanumericSender()) {
return $sender;
}

return null;
}

/**
Expand Down
2 changes: 0 additions & 2 deletions src/TwilioSmsMessage.php
Expand Up @@ -48,8 +48,6 @@ public function getFrom()
if ($this->alphaNumSender && strlen($this->alphaNumSender) > 0) {
return $this->alphaNumSender;
}

return null;
}

/**
Expand Down

0 comments on commit 4554feb

Please sign in to comment.