Check doc block signature to match the specified return type
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
bb82bfac6d
commit
13b503a1a4
|
@ -144,6 +144,12 @@ return [
|
||||||
// to fix in your code base.
|
// to fix in your code base.
|
||||||
'quick_mode' => false,
|
'quick_mode' => false,
|
||||||
|
|
||||||
|
// If true, check to make sure the return type declared
|
||||||
|
// in the doc-block (if any) matches the return type
|
||||||
|
// declared in the method signature. This process is
|
||||||
|
// slow.
|
||||||
|
'check_docblock_signature_param_type_match' => true,
|
||||||
|
|
||||||
// If enabled, check all methods that override a
|
// If enabled, check all methods that override a
|
||||||
// parent method to make sure its signature is
|
// parent method to make sure its signature is
|
||||||
// compatible with the parent's. This check
|
// compatible with the parent's. This check
|
||||||
|
|
Loading…
Reference in New Issue