It seems like $content can also be of type string; however, parameter $objarr of ArrayHelper\helper::is_iterable() does only seem to accept array|object, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
31
if (\ArrayHelper\helper::is_iterable(/** @scrutinizer ignore-type */ $content)) {