Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 1 |
| PostRevisionBoardHistoryIndex | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 1 |
| findTopicId | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace Flow\Data\Index; |
| 4 | |
| 5 | use Flow\Model\AbstractRevision; |
| 6 | use Flow\Model\PostRevision; |
| 7 | |
| 8 | class PostRevisionBoardHistoryIndex extends BoardHistoryIndex { |
| 9 | /** |
| 10 | * @param PostRevision $post |
| 11 | * @return \Flow\Model\UUID |
| 12 | * @suppress PhanParamSignatureMismatch But the signature doesn't match |
| 13 | */ |
| 14 | protected function findTopicId( AbstractRevision $post ) { |
| 15 | return $post->getRootPost()->getPostId(); |
| 16 | } |
| 17 | } |