Skip to content
This repository has been archived by the owner on Feb 20, 2022. It is now read-only.

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
ElfSundae committed Sep 1, 2017
1 parent 894a20c commit 09bd57b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Message.php
Expand Up @@ -417,10 +417,7 @@ public function attachments($attachments)
public function addAttachment($attachment)
{
if (! is_array($attachment)) {
$attachment = call_user_func_array(
[$this, 'getAttachmentPayload'],
func_get_args()
);
$attachment = call_user_func_array([$this, 'getAttachmentPayload'], func_get_args());
} elseif (
! empty($attachment['images']) &&
$images = $this->getImagesPayload($attachment['images'])
Expand Down

0 comments on commit 09bd57b

Please sign in to comment.