Code Inspection: Invalid argument supplied for 'foreach()'
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports the foreach
constructs used on variables of the string
, float
, int
, or boolean
type.
See foreach (php.net) for details.
Place the caret at the highlighted line and press AltEnter or click .
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.