Skip to content

Commit

Permalink
Merge pull request #595 from MyOnlineStore/3.4
Browse files Browse the repository at this point in the history
Avoid conflicts with other polyfills
  • Loading branch information
lcobucci authored Dec 3, 2020
2 parents 958a987 + cc74ab3 commit 17cb82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/json-exception-polyfill.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

if (PHP_VERSION_ID < 70300) {
if (PHP_VERSION_ID < 70300 && ! class_exists('JsonException')) {
class JsonException extends Exception
{
}
Expand Down

0 comments on commit 17cb82d

Please sign in to comment.