Passed
Pull Request — master (#97)
by Maximilian
04:17
created
src/Response/Directives/APL/StandardCommand/LogCommand.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,7 @@
 block discarded – undo
6 6
 
7 7
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\Document\LogLevel;
8 8
 
9
-class LogCommand extends AbstractStandardCommand
10
-{
9
+class LogCommand extends AbstractStandardCommand {
11 10
     public const TYPE = 'Log';
12 11
 
13 12
     /**
Please login to merge, or discard this patch.
src/Response/Directives/APL/Component/ScrollViewComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         ?array $preserve = null,
24 24
         public ?array $onScroll = null,
25 25
     ) {
26
-        parent::__construct(type: self::TYPE, preserve: $preserve);
26
+        parent::__construct(type : self::TYPE, preserve : $preserve);
27 27
     }
28 28
 
29 29
     public function jsonSerialize(): array
Please login to merge, or discard this patch.
src/Response/Directives/APL/Component/SequenceComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         public ?ScrollDirection $scrollDirection = null,
33 33
         public ?Snap $snap = null,
34 34
     ) {
35
-        parent::__construct(type: self::TYPE, preserve: $preserve);
35
+        parent::__construct(type : self::TYPE, preserve : $preserve);
36 36
     }
37 37
 
38 38
     public function jsonSerialize(): array
Please login to merge, or discard this patch.
src/Response/Directives/APL/Component/MultiChildComponent.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -7,12 +7,10 @@
 block discarded – undo
7 7
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\Component\Traits\MultiChildComponentTrait;
8 8
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\Document\APLComponentType;
9 9
 
10
-abstract class MultiChildComponent extends APLBaseComponent
11
-{
10
+abstract class MultiChildComponent extends APLBaseComponent {
12 11
     use MultiChildComponentTrait;
13 12
 
14
-    public function __construct(APLComponentType $type)
15
-    {
13
+    public function __construct(APLComponentType $type) {
16 14
         parent::__construct($type);
17 15
     }
18 16
 }
Please login to merge, or discard this patch.
src/Response/Directives/APL/Component/Traits/ActionableComponentTrait.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\Document\KeyHandler;
8 8
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\StandardCommand\AbstractStandardCommand;
9 9
 
10
-trait ActionableComponentTrait
11
-{
10
+trait ActionableComponentTrait {
12 11
     /** @var AbstractStandardCommand[]|null */
13 12
     public ?array $onFocus = null;
14 13
     /** @var AbstractStandardCommand[]|null */
Please login to merge, or discard this patch.
src/Response/Directives/APL/Component/Traits/MultiChildComponentTrait.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,8 +6,7 @@
 block discarded – undo
6 6
 
7 7
 use MaxBeckers\AmazonAlexa\Response\Directives\APL\Component\APLBaseComponent;
8 8
 
9
-trait MultiChildComponentTrait
10
-{
9
+trait MultiChildComponentTrait {
11 10
     public ?array $data = null;
12 11
     /** @var APLBaseComponent|APLBaseComponent[]|null */
13 12
     public $item = null;
Please login to merge, or discard this patch.
src/Response/Directives/APL/Component/VideoComponent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,11 +45,11 @@
 block discarded – undo
45 45
         ?array $preserve = null,
46 46
         public ?Scale $scale = null,
47 47
         public bool $screenLock = true,
48
-        public string|array|null $source = null,
48
+        public string | array | null $source = null,
49 49
         public ?array $sources = null,
50 50
         ?array $trackChanges = null,
51 51
     ) {
52
-        parent::__construct(type: self::TYPE, preserve: $preserve, trackChanges: $trackChanges);
52
+        parent::__construct(type : self::TYPE, preserve : $preserve, trackChanges : $trackChanges);
53 53
     }
54 54
 
55 55
     public function jsonSerialize(): array
Please login to merge, or discard this patch.
src/Response/Directives/APL/Component/PagerComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         public ?PageDirection $pageDirection = null,
35 35
         ?array $preserve = null,
36 36
     ) {
37
-        parent::__construct(type: self::TYPE, preserve: $preserve);
37
+        parent::__construct(type : self::TYPE, preserve : $preserve);
38 38
     }
39 39
 
40 40
     public function jsonSerialize(): array
Please login to merge, or discard this patch.
src/Response/Directives/APL/Component/FrameComponent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * @param APLBaseComponent[]|null $items Array of child components to display inside the Frame
27 27
      */
28 28
     public function __construct(
29
-        public Gradient|string|null $background = null,
29
+        public Gradient | string | null $background = null,
30 30
         public ?string $backgroundColor = null,
31 31
         public ?string $borderBottomLeftRadius = null,
32 32
         public ?string $borderBottomRightRadius = null,
Please login to merge, or discard this patch.