summaryrefslogtreecommitdiffstats
path: root/php-EasyRdf-fix-php-7-4.patch
blob: c6a23fd012c7ba07e686fcfae7ae3dcaa75c4a4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 656a86feff97afaff2b1ff7dbc7cc696b66e8a06 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Fri, 18 Oct 2019 21:07:16 +0100
Subject: [PATCH] Fix PHP 7.4 deprecation

---
 lib/ParsedUri.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/EasyRdf/ParsedUri.php b/lib/EasyRdf/ParsedUri.php
index 037c1f80..23cc3bd6 100644
--- a/lib/EastRdf/ParsedUri.php
+++ b/lib/EasyRdf/ParsedUri.php
@@ -242,7 +242,7 @@ public function normalise()
         }
 
         // Construct the new normalised path
-        $this->path = implode($newSegments, '/');
+        $this->path = implode('/', $newSegments);
 
         // Allow easy chaining of methods
         return $this;