Passed
Pull Request — master (#93)
by Maximilian
02:52
created
src/Request/Request/AudioPlayer/AudioPlayerRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,6 +39,6 @@
 block discarded – undo
39 39
             $this->timestamp = (new \DateTime())->setTimestamp(intval($amazonRequest['timestamp'] / 1000));
40 40
         }
41 41
         $this->locale = $amazonRequest['locale'];
42
-        $this->token  = PropertyHelper::checkNullValue($amazonRequest,'token');
42
+        $this->token  = PropertyHelper::checkNullValue($amazonRequest, 'token');
43 43
     }
44 44
 }
Please login to merge, or discard this patch.
src/Request/Request/AudioPlayer/PlaybackNearlyFinishedRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $request = new self();
26 26
 
27 27
         $request->type                 = self::TYPE;
28
-        $request->offsetInMilliseconds = PropertyHelper::checkNullValue($amazonRequest,'offsetInMilliseconds');
28
+        $request->offsetInMilliseconds = PropertyHelper::checkNullValue($amazonRequest, 'offsetInMilliseconds');
29 29
         $request->setRequestData($amazonRequest);
30 30
 
31 31
         return $request;
Please login to merge, or discard this patch.
src/Request/Request/AudioPlayer/PlaybackStoppedRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $request = new self();
26 26
 
27 27
         $request->type                 = self::TYPE;
28
-        $request->offsetInMilliseconds = PropertyHelper::checkNullValue($amazonRequest,'offsetInMilliseconds');
28
+        $request->offsetInMilliseconds = PropertyHelper::checkNullValue($amazonRequest, 'offsetInMilliseconds');
29 29
         $request->setRequestData($amazonRequest);
30 30
 
31 31
         return $request;
Please login to merge, or discard this patch.
src/Request/Request/AudioPlayer/PlaybackFinishedRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $request = new self();
26 26
 
27 27
         $request->type                 = self::TYPE;
28
-        $request->offsetInMilliseconds = PropertyHelper::checkNullValue($amazonRequest,'offsetInMilliseconds');
28
+        $request->offsetInMilliseconds = PropertyHelper::checkNullValue($amazonRequest, 'offsetInMilliseconds');
29 29
         $request->setRequestData($amazonRequest);
30 30
 
31 31
         return $request;
Please login to merge, or discard this patch.
src/Request/Request/Standard/SessionEndedRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $request = new self();
32 32
 
33 33
         $request->type   = self::TYPE;
34
-        $request->reason = PropertyHelper::checkNullValue($amazonRequest,'reason');
34
+        $request->reason = PropertyHelper::checkNullValue($amazonRequest, 'reason');
35 35
         $request->error  = isset($amazonRequest['error']) ? Error::fromAmazonRequest($amazonRequest['error']) : null;
36 36
         $request->setRequestData($amazonRequest);
37 37
 
Please login to merge, or discard this patch.
src/Request/Request/Standard/IntentRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
         $request = new static();
36 36
 
37 37
         $request->type        = static::TYPE;
38
-        $request->dialogState = PropertyHelper::checkNullValue($amazonRequest,'dialogState');
38
+        $request->dialogState = PropertyHelper::checkNullValue($amazonRequest, 'dialogState');
39 39
         $request->intent      = Intent::fromAmazonRequest($amazonRequest['intent']);
40 40
         $request->setRequestData($amazonRequest);
41 41
 
Please login to merge, or discard this patch.
src/Request/Request/System/ConnectionsResponseRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,8 +43,8 @@
 block discarded – undo
43 43
         $request = new self();
44 44
 
45 45
         $request->type    = self::TYPE;
46
-        $request->name    = PropertyHelper::checkNullValue($amazonRequest,'name');
47
-        $request->token   = PropertyHelper::checkNullValue($amazonRequest,'token');
46
+        $request->name    = PropertyHelper::checkNullValue($amazonRequest, 'name');
47
+        $request->token   = PropertyHelper::checkNullValue($amazonRequest, 'token');
48 48
         $request->status  = isset($amazonRequest['status']) ? Status::fromAmazonRequest($amazonRequest['status']) : null;
49 49
         $request->payload = isset($amazonRequest['payload']) ? Payload::fromAmazonRequest($amazonRequest['payload']) : null;
50 50
 
Please login to merge, or discard this patch.
src/Request/Request/System/Payload.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@
 block discarded – undo
38 38
     {
39 39
         $status = new self();
40 40
 
41
-        $status->purchaseResult = PropertyHelper::checkNullValue($amazonRequest,'purchaseResult');
42
-        $status->productId      = PropertyHelper::checkNullValue($amazonRequest,'productId');
43
-        $status->message        = PropertyHelper::checkNullValue($amazonRequest,'message');
41
+        $status->purchaseResult = PropertyHelper::checkNullValue($amazonRequest, 'purchaseResult');
42
+        $status->productId      = PropertyHelper::checkNullValue($amazonRequest, 'productId');
43
+        $status->message        = PropertyHelper::checkNullValue($amazonRequest, 'message');
44 44
 
45 45
         return $status;
46 46
     }
Please login to merge, or discard this patch.
src/Request/Request/System/Status.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
     {
29 29
         $status = new self();
30 30
 
31
-        $status->code    = PropertyHelper::checkNullValue($amazonRequest,'code');
32
-        $status->message = PropertyHelper::checkNullValue($amazonRequest,'message');
31
+        $status->code    = PropertyHelper::checkNullValue($amazonRequest, 'code');
32
+        $status->message = PropertyHelper::checkNullValue($amazonRequest, 'message');
33 33
 
34 34
         return $status;
35 35
     }
Please login to merge, or discard this patch.