Code Inspection: Type cast on a scalar value
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports the type casts that can be evaluated in place and suggests replacing them with actual computed values.
See Type juggling (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.