diff options
author | Remi Collet <remi@remirepo.net> | 2021-03-31 14:11:39 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2021-03-31 14:11:39 +0200 |
commit | eac227482063e1f9badd5c31d4387fb66dda56f8 (patch) | |
tree | 9f2fe7bc8b90a00b10dbf16597148d79f7d5f9fa /php-JsonSchema-php8.patch | |
parent | c37c5252a5c188679680f20be900fb16d4e1e119 (diff) |
Diffstat (limited to 'php-JsonSchema-php8.patch')
-rw-r--r-- | php-JsonSchema-php8.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/php-JsonSchema-php8.patch b/php-JsonSchema-php8.patch new file mode 100644 index 0000000..21ea2c5 --- /dev/null +++ b/php-JsonSchema-php8.patch @@ -0,0 +1,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; + } + |