@@ -8,7 +8,7 @@ |
||
8 | 8 | protected $explicitContent; |
9 | 9 | protected $imageUrl; |
10 | 10 | |
11 | - protected $roles = ['audio', 'music']; |
|
11 | + protected $roles = ['audio', 'music']; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * @param string $role |
@@ -7,7 +7,7 @@ |
||
7 | 7 | protected $accessibilityCaption; |
8 | 8 | protected $explicitContent; |
9 | 9 | |
10 | - protected $roles = ['figure', 'image', 'logo', 'photo', 'portrait', 'galleryitem']; |
|
10 | + protected $roles = ['figure', 'image', 'logo', 'photo', 'portrait', 'galleryitem']; |
|
11 | 11 | |
12 | 12 | /** |
13 | 13 | * @param string $role |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | */ |
11 | 11 | class FlatPlan { |
12 | 12 | |
13 | - private $endpoint = 'https://staging.flatplan.app/api/'; |
|
13 | + private $endpoint = 'https://staging.flatplan.app/api/'; |
|
14 | 14 | |
15 | 15 | private $client; |
16 | 16 | private $accessToken; |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | 'article/status/' . $articleId, |
92 | 92 | $this->getHeaders() |
93 | 93 | ); |
94 | - $status = json_decode((string) $response->getBody()); |
|
94 | + $status = json_decode((string) $response->getBody()); |
|
95 | 95 | return $status; |
96 | 96 | |
97 | 97 | } catch (\GuzzleHttp\Exception\BadResponseException $e) { |
@@ -45,7 +45,7 @@ |
||
45 | 45 | } |
46 | 46 | $behaviour = new \stdClass(); |
47 | 47 | $behaviour->type = $type; |
48 | - if (!is_null($factor) && $type === 'parallax') { |
|
48 | + if (!is_null($factor) && $type === 'parallax') { |
|
49 | 49 | $behaviour->factor = (float) $factor; |
50 | 50 | } |
51 | 51 | $this->behaviour = $behaviour; |
@@ -9,7 +9,7 @@ |
||
9 | 9 | protected $explicitContent; |
10 | 10 | protected $stillUrl; |
11 | 11 | |
12 | - protected $roles = ['video', 'embedwebvideo', 'embedvideo']; |
|
12 | + protected $roles = ['video', 'embedwebvideo', 'embedvideo']; |
|
13 | 13 | |
14 | 14 | /** |
15 | 15 | * @param string $role |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | public function __construct($articleId, $status = 'draft') |
38 | 38 | { |
39 | 39 | $this->article_id = $articleId; |
40 | - $this->status = $status; |
|
40 | + $this->status = $status; |
|
41 | 41 | } |
42 | 42 | |
43 | 43 | public function setTitle($title) { |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | $metaObj = new \stdClass(); |
96 | 96 | } |
97 | 97 | |
98 | - $errors = array(); |
|
98 | + $errors = array(); |
|
99 | 99 | if (is_array($metaData)) { |
100 | 100 | foreach ($metaData as $key => $value) { |
101 | 101 | if (isset($this->allowedMetaKeys[$key])) { |