aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/symfony/polyfill-php81/Resources
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/polyfill-php81/Resources')
-rw-r--r--vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php b/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php
index 197709ba6..f4cad34f6 100644
--- a/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php
+++ b/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php
@@ -1,9 +1,11 @@
<?php
-#[Attribute(Attribute::TARGET_METHOD)]
-final class ReturnTypeWillChange
-{
- public function __construct()
+if (\PHP_VERSION_ID < 80100) {
+ #[Attribute(Attribute::TARGET_METHOD)]
+ final class ReturnTypeWillChange
{
+ public function __construct()
+ {
+ }
}
}