From a2c418ee074a99bfdad76d58dc09b1a6040dd68a Mon Sep 17 00:00:00 2001 From: Michael Hogg Date: Fri, 28 Aug 2015 16:41:12 +0100 Subject: [PATCH] Fix bug: incorrect signature parameter --- src/TokenType/MAC.php | 2 +- tests/unit/TokenType/MacTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TokenType/MAC.php b/src/TokenType/MAC.php index 1eb3b930..54a40ef2 100644 --- a/src/TokenType/MAC.php +++ b/src/TokenType/MAC.php @@ -105,7 +105,7 @@ class MAC extends AbstractTokenType implements TokenTypeInterface $timestamp, $nonce, strtoupper($request->getMethod()), - $request->getUri(), + $request->getRequestUri(), $request->getHost(), $request->getPort(), ]; diff --git a/tests/unit/TokenType/MacTest.php b/tests/unit/TokenType/MacTest.php index fce568fa..f0fc2fc2 100644 --- a/tests/unit/TokenType/MacTest.php +++ b/tests/unit/TokenType/MacTest.php @@ -52,7 +52,7 @@ class MacTest extends \PHPUnit_Framework_TestCase $ts, 'foo', strtoupper($request->getMethod()), - $request->getUri(), + $request->getRequestUri(), $request->getHost(), $request->getPort(), 'ext'