@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | namespace MaxBeckers\AmazonAlexa\Response\Directives\GadgetController; |
6 | 6 | |
7 | -class Animation |
|
8 | -{ |
|
7 | +class Animation { |
|
9 | 8 | public ?int $repeat = null; |
10 | 9 | public array $targetLights = ['1']; |
11 | 10 |
@@ -6,8 +6,7 @@ |
||
6 | 6 | |
7 | 7 | use MaxBeckers\AmazonAlexa\Response\Directives\Directive; |
8 | 8 | |
9 | -class RenderTemplateDirective extends Directive |
|
10 | -{ |
|
9 | +class RenderTemplateDirective extends Directive { |
|
11 | 10 | public const TYPE = 'Display.RenderTemplate'; |
12 | 11 | |
13 | 12 | public ?Template $template = null; |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | namespace MaxBeckers\AmazonAlexa\Response\Directives\Display; |
6 | 6 | |
7 | -class ListItem |
|
8 | -{ |
|
7 | +class ListItem { |
|
9 | 8 | public ?string $token = null; |
10 | 9 | |
11 | 10 | public ?Image $image = null; |
@@ -6,8 +6,7 @@ |
||
6 | 6 | |
7 | 7 | use MaxBeckers\AmazonAlexa\Response\Directives\Directive; |
8 | 8 | |
9 | -class HintDirective extends Directive |
|
10 | -{ |
|
9 | +class HintDirective extends Directive { |
|
11 | 10 | public const TYPE = 'Hint'; |
12 | 11 | |
13 | 12 | public ?Text $hint = null; |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | namespace MaxBeckers\AmazonAlexa\Response\Directives\Display; |
6 | 6 | |
7 | -class Image |
|
8 | -{ |
|
7 | +class Image { |
|
9 | 8 | public ?string $contentDescription = null; |
10 | 9 | |
11 | 10 | /** @var ImageSource[] */ |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | namespace MaxBeckers\AmazonAlexa\Response\Directives\Display; |
6 | 6 | |
7 | -class Text |
|
8 | -{ |
|
7 | +class Text { |
|
9 | 8 | public const TYPE_PLAIN_TEXT = 'PlainText'; |
10 | 9 | public const TYPE_RICH_TEXT = 'RichText'; |
11 | 10 |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | namespace MaxBeckers\AmazonAlexa\Response; |
6 | 6 | |
7 | -class CardImage |
|
8 | -{ |
|
7 | +class CardImage { |
|
9 | 8 | public ?string $smallImageUrl = null; |
10 | 9 | public ?string $largeImageUrl = null; |
11 | 10 |
@@ -4,6 +4,5 @@ |
||
4 | 4 | |
5 | 5 | namespace MaxBeckers\AmazonAlexa\Response; |
6 | 6 | |
7 | -interface ResponseBodyInterface |
|
8 | -{ |
|
7 | +interface ResponseBodyInterface { |
|
9 | 8 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | namespace MaxBeckers\AmazonAlexa\Response; |
6 | 6 | |
7 | -class Response |
|
8 | -{ |
|
7 | +class Response { |
|
9 | 8 | /** |
10 | 9 | * Create a new response with an empty response body. |
11 | 10 | * |