We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1fed1c2 + c34c82a commit 30739d8Copy full SHA for 30739d8
src/MessageBird/Objects/SignedRequest.php
@@ -52,7 +52,7 @@ public static function createFromGlobals()
52
$body = file_get_contents('php://input');
53
$queryParameters = $_GET;
54
$requestTimestamp = isset($_SERVER['HTTP_MESSAGEBIRD_REQUEST_TIMESTAMP']) ?
55
- $_SERVER['HTTP_MESSAGEBIRD_REQUEST_TIMESTAMP'] : null;
+ (int)$_SERVER['HTTP_MESSAGEBIRD_REQUEST_TIMESTAMP'] : null;
56
$signature = isset($_SERVER['HTTP_MESSAGEBIRD_SIGNATURE']) ?
57
$_SERVER['HTTP_MESSAGEBIRD_SIGNATURE'] : null;
58
0 commit comments