Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Added many features and fixes #376

Open
wants to merge 14 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions plugins/sms/applets/sms/twiml.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@

// Call flows still use the legacy <Sms> TwiML
// for sending messages during calls.
if(AppletInstance::getFlowType() == 'voice') {
if(AppletInstance::getFlowType() == 'voice')
{
$response->sms($sms, $message_opts);
}
else {
else

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this the opposite of the PSR2 recommendation?
http://www.php-fig.org/psr/psr-2/#if-elseif-else

{
$response->message($sms, $message_opts);
}

Expand Down