Skip to content

Commit 4554feb

Browse files
authored
Merge pull request #55 from laravel-notification-channels/analysis-q5jEox
Apply fixes from StyleCI
2 parents 9876810 + 0f69e62 commit 4554feb

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/Twilio.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ protected function sendSmsMessage(TwilioSmsMessage $message, $to)
7676
$params['from'] = $from;
7777
}
7878

79-
if (!$from && !$messagingServiceSid) {
79+
if (! $from && ! $messagingServiceSid) {
8080
throw CouldNotSendNotification::missingFrom();
8181
}
8282

@@ -164,8 +164,6 @@ protected function getAlphanumericSender()
164164
if ($sender = $this->config->getAlphanumericSender()) {
165165
return $sender;
166166
}
167-
168-
return null;
169167
}
170168

171169
/**

src/TwilioSmsMessage.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ public function getFrom()
4848
if ($this->alphaNumSender && strlen($this->alphaNumSender) > 0) {
4949
return $this->alphaNumSender;
5050
}
51-
52-
return null;
5351
}
5452

5553
/**

0 commit comments

Comments
 (0)