mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 10:54:52 +00:00
Bump stripe-php from 16.4.0 to 17.2.1
This commit is contained in:
@@ -18,9 +18,9 @@ abstract class WebhookSignature
|
||||
* @param int $tolerance maximum difference allowed between the header's
|
||||
* timestamp and the current time
|
||||
*
|
||||
* @throws Exception\SignatureVerificationException if the verification fails
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
* @throws Exception\SignatureVerificationException if the verification fails
|
||||
*/
|
||||
public static function verifyHeader($payload, $header, $secret, $tolerance = null)
|
||||
{
|
||||
@@ -93,7 +93,7 @@ abstract class WebhookSignature
|
||||
return -1;
|
||||
}
|
||||
|
||||
return (int) ($itemParts[1]);
|
||||
return (int) $itemParts[1];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user