Inspectopedia Help

Invalid type of unpacked argument

Reports unpacked function arguments and array elements whose type is neither array nor Traversable.

Starting with PHP 8.0, such usages will result in Fatal error.

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023