Skip to content

Commit

Permalink
Apply fixes from StyleCI (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpociot committed Dec 1, 2017
1 parent 9e2ac1c commit 6e85a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FacebookDriver.php
Expand Up @@ -336,7 +336,7 @@ public function buildServicePayload($message, $matchingMessage, $additionalParam
$parameters['message'] = $message->toArray();
} elseif ($message instanceof OutgoingMessage) {
$attachment = $message->getAttachment();
if (!is_null($attachment) && in_array(get_class($attachment), $this->supportedAttachments)) {
if (! is_null($attachment) && in_array(get_class($attachment), $this->supportedAttachments)) {
$attachmentType = strtolower(basename(str_replace('\\', '/', get_class($attachment))));
unset($parameters['message']['text']);
$parameters['message']['attachment'] = [
Expand Down

0 comments on commit 6e85a8d

Please sign in to comment.