summaryrefslogtreecommitdiffstats
path: root/php-JsonSchema-php8.patch
blob: 21ea2c596e24f7edf5944a4b6c35bf5a0c90e8e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -up ./src/JsonSchema/Uri/UriResolver.php.php8 ./src/JsonSchema/Uri/UriResolver.php
--- ./src/JsonSchema/Uri/UriResolver.php.php8	2021-03-31 14:05:54.880445272 +0200
+++ ./src/JsonSchema/Uri/UriResolver.php	2021-03-31 14:06:03.008417398 +0200
@@ -112,7 +112,7 @@ class UriResolver
         if ($relativePath == '') {
             return $basePath;
         }
-        if ($relativePath{0} == '/') {
+        if ($relativePath[0] == '/') {
             return $relativePath;
         }