Verified Commit 83889d4a authored by tuutti's avatar tuutti
Browse files

Issue #3312490: Support Guzzle 7

parent 0a1d8e23
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6,6 +6,6 @@
    "require": {
        "php": ">=8.0",
        "drupal/commerce": "^2",
        "tuutti/php-paytrail-payment-api": "^1.4"
        "tuutti/php-paytrail-payment-api": "^1.4 || ^2.0"
    }
}
+2 −2
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ final class Header {
   *   The method.
   * @param string $nonce
   *   The nonce.
   * @param string $timestamp
   * @param int|string $timestamp
   *   The timestamp.
   * @param string|null $transactionId
   *   The transactionId.
@@ -34,7 +34,7 @@ final class Header {
    public string $hashAlgorithm,
    public string $method,
    public string $nonce,
    public string $timestamp,
    public int|string $timestamp,
    public ?string $transactionId = NULL,
    public ?string $platformName = NULL
  ) {
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ abstract class RequestBuilderBase {
      'sha512',
      $method,
      $this->uuidService->generate(),
      (new DrupalDateTime('@' . $this->time->getCurrentTime()))->format('c'),
      $this->time->getCurrentTime(),
      $transactionId,
      $platformName
    );