aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/symfony/polyfill-php81
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-02-11 09:21:19 +0000
committerMario <mario@mariovavti.com>2022-02-11 09:21:19 +0000
commit6d8aabab2347feabdd804b609dcd4513f09f78d4 (patch)
tree9bea1aba6caa85084ec664f498c445bb92d9457c /vendor/symfony/polyfill-php81
parente74359fcfe4d97efe72a811b45526a69edae3893 (diff)
downloadvolse-hubzilla-6d8aabab2347feabdd804b609dcd4513f09f78d4.tar.gz
volse-hubzilla-6d8aabab2347feabdd804b609dcd4513f09f78d4.tar.bz2
volse-hubzilla-6d8aabab2347feabdd804b609dcd4513f09f78d4.zip
composer libs minor version updates
Diffstat (limited to 'vendor/symfony/polyfill-php81')
-rw-r--r--vendor/symfony/polyfill-php81/Php81.php2
-rw-r--r--vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php10
2 files changed, 7 insertions, 5 deletions
diff --git a/vendor/symfony/polyfill-php81/Php81.php b/vendor/symfony/polyfill-php81/Php81.php
index 709c20bb5..f0507b765 100644
--- a/vendor/symfony/polyfill-php81/Php81.php
+++ b/vendor/symfony/polyfill-php81/Php81.php
@@ -20,7 +20,7 @@ final class Php81
{
public static function array_is_list(array $array): bool
{
- if ([] === $array) {
+ if ([] === $array || $array === array_values($array)) {
return true;
}
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()
+ {
+ }
}
}