Passed
Pull Request — main (#2)
by Ion
01:46
created
src/RequestSigner.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,11 +41,11 @@
 block discarded – undo
41 41
     {
42 42
         $nonce ??= Uuid::uuid4()->toString();
43 43
 
44
-	$datetime = $date ?? new DateTime();
44
+    $datetime = $date ?? new DateTime();
45 45
         $timestamp = $datetime->format('Uv');
46 46
 
47
-	$timeOffset = $datetime->format('P');
48
-	$timeString = $datetime->format('D, d M Y H:i:s') . ' GMT' . $timeOffset;
47
+    $timeOffset = $datetime->format('P');
48
+    $timeString = $datetime->format('D, d M Y H:i:s') . ' GMT' . $timeOffset;
49 49
 
50 50
         $body = $request->getBody()->getContents();
51 51
         $contentMd5 = $body !== '' ? base64_encode(md5($body, true)) : '';
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
         $timestamp = $datetime->format('Uv');
46 46
 
47 47
 	$timeOffset = $datetime->format('P');
48
-	$timeString = $datetime->format('D, d M Y H:i:s') . ' GMT' . $timeOffset;
48
+	$timeString = $datetime->format('D, d M Y H:i:s').' GMT'.$timeOffset;
49 49
 
50 50
         $body = $request->getBody()->getContents();
51 51
         $contentMd5 = $body !== '' ? base64_encode(md5($body, true)) : '';
Please login to merge, or discard this patch.