summaryrefslogtreecommitdiffstats
path: root/39.patch
blob: 081d47ece701f6e28e26fb7c8aa7224d2874923a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 27a4b8310cd8fd968d25ab7ee61798a279f87601 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Tue, 24 Oct 2017 13:16:43 +0200
Subject: [PATCH] fix prototype for PHP 7.2

---
 test/Http/TestAsset/DummyRouteWithParam.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/Http/TestAsset/DummyRouteWithParam.php b/test/Http/TestAsset/DummyRouteWithParam.php
index e4e99f8..340cc58 100644
--- a/test/Http/TestAsset/DummyRouteWithParam.php
+++ b/test/Http/TestAsset/DummyRouteWithParam.php
@@ -22,7 +22,7 @@ class DummyRouteWithParam extends DummyRoute
      * @param  RequestInterface $request
      * @return RouteMatch
      */
-    public function match(RequestInterface $request)
+    public function match(RequestInterface $request, $pathOffset = null)
     {
         return new RouteMatch(['foo' => 'bar'], -4);
     }