Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | class HeadLink extends Zend_View_Helper_HeadLink |
||
8 | { |
||
9 | /** |
||
10 | * Override parent to inject the last modified time of file. |
||
11 | * This avoid browser cache and force reloading when the file changed. |
||
12 | * |
||
13 | * @param string $method |
||
14 | * @param array $args |
||
15 | * |
||
16 | * @return mixed |
||
17 | */ |
||
18 | 12 | public function __call($method, $args) |
|
27 |
This check looks for function or method calls that always return null and whose return value is used.
The method
getObject()
can return nothing but null, so it makes no sense to use the return value.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.