diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 26e4b69d..1fb24768 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -330,6 +330,10 @@ + + ArrayUtils::ARRAY_FILTER_USE_BOTH + ArrayUtils::ARRAY_FILTER_USE_KEY + ArrayUtils::filter($data, $callback, $flag) diff --git a/src/ArrayUtils.php b/src/ArrayUtils.php index 75ddd529..935d9889 100644 --- a/src/ArrayUtils.php +++ b/src/ArrayUtils.php @@ -35,11 +35,15 @@ abstract class ArrayUtils { /** * Compatibility Flag for ArrayUtils::filter + * + * @deprecated */ public const ARRAY_FILTER_USE_BOTH = 1; /** * Compatibility Flag for ArrayUtils::filter + * + * @deprecated */ public const ARRAY_FILTER_USE_KEY = 2;