- $post['attach'] .= Post\Media::getAttachElement($this->baseURL . '/attach/' . $attachment['id'],
- $attachment['filesize'], $attachment['filetype'], $attachment['filename'] ?? '');
-
- $fields = ['allow_cid' => $post['allow_cid'], 'allow_gid' => $post['allow_gid'],
- 'deny_cid' => $post['deny_cid'], 'deny_gid' => $post['deny_gid']];
+ $post['attach'] .= Post\Media::getAttachElement(
+ $this->baseURL . '/attach/' . $attachment['id'],
+ $attachment['filesize'],
+ $attachment['filetype'],
+ $attachment['filename'] ?? ''
+ );
+
+ $fields = [
+ 'allow_cid' => $post['allow_cid'], 'allow_gid' => $post['allow_gid'],
+ 'deny_cid' => $post['deny_cid'], 'deny_gid' => $post['deny_gid']
+ ];