Code Inspection: Missing strict types declaration
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Detects the missing declare(strict_types=1)
directive in the file.
See Strict typing (php.net) to learn more about why you may need use this directive.
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.