By mstrelan on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
\Drupal\Component\Assertion\Inspector::assertTraversable is deprecated in 10.3.0 and removed in 11.0.0. Use is_iterable instead.
Before:
if (Inspector::assertTraversable($traversable)) {
// ...
}
After:
if (is_iterable($traversable)) {
// ...
}
Impacts:
Module developers