1.2.1086. Set Class Remote Definition With Injection¶
Links a method call and its definition, thanks to a typehint.
<?php
class A {
function goo() {}
}
function foo(A $arg) {
// This goes to method A::goo(), thanks to the typehint
$arg->goo();
}
?>
1.2.1086.1. Specs¶
Short name |
Complete/SetClassRemoteDefinitionWithInjection |
Rulesets |
|
Exakat since |
1.9.2 |
PHP Version |
All |
Severity |
Minor |
Time To Fix |
Quick (30 mins) |
Precision |
High |
Available in |