Passed
Push — master ( 37e901...5e7cac )
by Jon
02:52
created
src/Components/Audio.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Components/Image.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/FlatPlan.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Components/AbstractComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Components/Video.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Article.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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])) {
Please login to merge, or discard this patch.