Skip to content

Commit

Permalink
https://github.com/mage2pro/core/issues/403
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jun 3, 2024
1 parent e840cb0 commit 47dacc4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/code/local/Df/Core/lib/array/clean/filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
* 2020-02-05 Now it correcly handles non-associative arrays.
* 2024-03-03 "Port `df_filter()` from `mage2pro/core`": https://github.com/thehcginstitute-com/m1/issues/452
* 2024-06-03
* 1) "Use the `iterable` type": https://github.com/mage2pro/core/issues/403
* 2) `iterable` is supported by PHP ≥ 7.1: https://3v4l.org/qNX1j
* 3) https://php.net/manual/en/language.types.iterable.php
* 1.1) "Use the `iterable` type": https://github.com/mage2pro/core/issues/403
* 1.2) `iterable` is supported by PHP ≥ 7.1: https://3v4l.org/qNX1j
* 1.3) https://php.net/manual/en/language.types.iterable.php
* 2) We still can not use «Union Types» (e.g. `callable|iterable`) because they require PHP ≥ 8 (we need to support PHP ≥ 7.1):
* https://php.watch/versions/8.0/union-types
* @used-by df_clean_r()
* @param callable|iterable $a1
* @param callable|iterable $a2
Expand Down

0 comments on commit 47dacc4

Please sign in to comment.