Inspectopedia Help

Unnecessary spread operator for function call argument

Reports the usages of the spread operator (...) on array literals in function call arguments that may be safely unwrapped.

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023