Total Complexity | 5 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | class VotesTest extends FetchPageTestCase { |
||
7 | public function getDataSet() { |
||
8 | return $this->createMySQLXMLDataSet(dirname(__FILE__) . '/_fixtures/divisions.xml'); |
||
|
|||
9 | } |
||
10 | |||
11 | private function fetch_page($vars) { |
||
12 | return $this->base_fetch_page($vars, 'mp', 'index.php', '/mp/votes.php'); |
||
13 | } |
||
14 | |||
15 | private function fetch_votes_page() { |
||
17 | } |
||
18 | |||
19 | public function testVoteSummary() { |
||
22 | } |
||
23 | |||
24 | public function testLastUpdate() { |
||
27 | } |
||
28 | } |
||
29 |
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.