1.2.441. Extended Typehints¶
Produces all the definition links between typehints (arguments, return types, properties) and the definitions that are valid with the typehint.
<?php
function foo(A $A) {}
// This is the raw definition of the above typehint
interface A {}
// This is valid definition of the above typehint
class X implements A {}
// This is valid definition of the above typehint
class Y extends X {}
// This is not related to the typehint
class Z {}
?>
1.2.441.1. Connex PHP features¶
1.2.441.1.1. Specs¶
Short name |
Complete/ExtendedTypehints |
Rulesets |
|
Exakat since |
2.1.4 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
Very high |
Available in |