Code Inspection: 'array_filter' can be converted to loop
array_filter calls that can be replaced with the
In the following example, the
myArr array's odd values are filtered out by using the
odd callback function. The function is called from either the
array_filter function call or the
Suppress an inspection in the editor
Position the caret at the highlighted line and press Alt+Enter or click .
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.