| @@ -16,6 +16,9 @@ | ||
| 16 | 16 | |
| 17 | 17 | interface TableOfContentsGeneratorInterface | 
| 18 | 18 |  { | 
| 19 | + /** | |
| 20 | + * @return null|TableOfContents | |
| 21 | + */ | |
| 19 | 22 | public function generate(Document $document): ?TableOfContents; | 
| 20 | 23 | } | 
| 21 | 24 | |