@@ -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 |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | protected $accessibilityCaption; |
| 9 | 9 | protected $explicitContent; |
| 10 | 10 | |
| 11 | - protected $roles = ['video', 'embedwebvideo', 'embedvideo']; |
|
| 11 | + protected $roles = ['video', 'embedwebvideo', 'embedvideo']; |
|
| 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; |
@@ -95,7 +95,7 @@ |
||
| 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])) { |