From 6e85a8dfaf579db1494525a76781e7326e79d55e Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Fri, 1 Dec 2017 21:48:56 +0100 Subject: [PATCH] Apply fixes from StyleCI (#50) --- src/FacebookDriver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FacebookDriver.php b/src/FacebookDriver.php index cb9cb47..e2cd55e 100644 --- a/src/FacebookDriver.php +++ b/src/FacebookDriver.php @@ -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'] = [