| 1 | <?php |
||
| 8 | class ExtractNavigationXpathTest extends AbstractMagentoTestCase |
||
| 9 | { |
||
| 10 | |||
| 11 | protected $baseXpath; |
||
| 12 | protected $childXpath; |
||
| 13 | |||
| 14 | protected $url; |
||
| 15 | protected $category; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param mixed $url |
||
| 19 | */ |
||
| 20 | public function setUrl($url) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param mixed $category |
||
| 27 | */ |
||
| 28 | public function setCategory($category) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | public function getBaseXpath() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return mixed |
||
| 43 | */ |
||
| 44 | public function getChildXpath() |
||
| 48 | |||
| 49 | |||
| 50 | |||
| 51 | public function testExecute() |
||
| 65 | |||
| 66 | } |
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.