@@ -68,7 +68,7 @@ |
||
68 | 68 | { |
69 | 69 | $json = $article->getJson(); |
70 | 70 | $options = $this->getHeaders(); |
71 | - $options['form_params'] = ['articleJson' => $json]; |
|
71 | + $options[ 'form_params' ] = [ 'articleJson' => $json ]; |
|
72 | 72 | try { |
73 | 73 | $response = $this->client->post( |
74 | 74 | $this->endpoint . '/article', |
@@ -4,7 +4,7 @@ |
||
4 | 4 | |
5 | 5 | private $text; |
6 | 6 | private $format; |
7 | - protected $formats = ['html', 'markdown', 'none']; |
|
7 | + protected $formats = [ 'html', 'markdown', 'none' ]; |
|
8 | 8 | |
9 | 9 | public function setFormat($format = null) |
10 | 10 | { |