Undefined callback
Reports the functions, methods, properties, or classes that are referenced from a callback but are not found.
Use the options below to customize the inspection:
Ignore callback from *_exists and is_callable functions: if selected, the inspection will skip callback references from the
method_exists
,function_exists
,property_exists
,class_exists
andis_callable
functions.Don't report in case of ambiguity: if selected, the inspection will skip the parameters with multiple possible types, for example marked as
callable|string
.
Inspection options
Option | Type | Default |
---|---|---|
Ignore callback from '*_exists' and 'is_callable' functions | Checkbox | true |
Don't report in case of ambiguity | Checkbox | true |
Inspection Details | |
---|---|
Available in: | PhpStorm 2023.3, Qodana for PHP 2023.3 |
Plugin: | PHP, 233.SNAPSHOT |