aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php')
-rw-r--r--vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php b/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php
index 99843cad3..a3a9b88b0 100644
--- a/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php
+++ b/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php
@@ -1,5 +1,7 @@
<?php
-class ValueError extends Error
-{
+if (\PHP_VERSION_ID < 80000) {
+ class ValueError extends Error
+ {
+ }
}