| Total Lines | 10 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | interface DeleteThreadManagerInterface |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Deletes a thread. |
||
| 24 | * |
||
| 25 | * @param ThreadInterface $thread The thread we want to delete |
||
| 26 | * @param boolean $flush Whether to flush, defaults to true |
||
| 27 | */ |
||
| 28 | public function deleteThread(ThreadInterface $thread, $flush = true); |
||
| 29 | } |
||
| 30 |
For interface and abstract methods, it is impossible to infer the return type from the immediate code. In these cases, it is generally advisible to explicitly annotate these methods with a
@returndoc comment to communicate to implementors of these methods what they are expected to return.