1 | <?php |
||
2 | |||
3 | /* For license terms, see /license.txt */ |
||
4 | |||
5 | $plugin = TopLinksPlugin::create()->install(); |
||
0 ignored issues
–
show
|
|||
6 |
This check looks for function or method calls that always return null and whose return value is assigned to a variable.
The method
getObject()
can return nothing but null, so it makes no sense to assign that value to a variable.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.