Passed
Push — master ( 4b2c1a...a53d55 )
by Maximilian
02:53
created
src/Response/Directives/Display/RenderTemplateDirective.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\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;
Please login to merge, or discard this patch.
src/Response/Directives/Display/ListItem.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Response/Directives/Display/HintDirective.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\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;
Please login to merge, or discard this patch.
src/Response/Directives/Display/Image.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
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[] */
Please login to merge, or discard this patch.
src/Response/Directives/Display/Text.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Response/CardImage.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Response/ResponseBodyInterface.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,6 +4,5 @@
 block discarded – undo
4 4
 
5 5
 namespace MaxBeckers\AmazonAlexa\Response;
6 6
 
7
-interface ResponseBodyInterface
8
-{
7
+interface ResponseBodyInterface {
9 8
 }
Please login to merge, or discard this patch.
src/Response/Response.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
src/Response/OutputSpeech.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 namespace MaxBeckers\AmazonAlexa\Response;
6 6
 
7
-class OutputSpeech
8
-{
7
+class OutputSpeech {
9 8
     public const TYPE_PLAINTEXT = 'PlainText';
10 9
     public const TYPE_SSML = 'SSML';
11 10
 
@@ -13,8 +12,7 @@  discard block
 block discarded – undo
13 12
     public ?string $text = null;
14 13
     public ?string $ssml = null;
15 14
 
16
-    public function __construct(string $type = self::TYPE_PLAINTEXT)
17
-    {
15
+    public function __construct(string $type = self::TYPE_PLAINTEXT) {
18 16
         $this->type = $type;
19 17
     }
20 18
 
Please login to merge, or discard this patch.