diff --git a/src/Models/MarkdownPost.php b/src/Models/MarkdownPost.php index fa558a4d..0f2a699f 100644 --- a/src/Models/MarkdownPost.php +++ b/src/Models/MarkdownPost.php @@ -21,6 +21,9 @@ class MarkdownPost extends MarkdownDocument public static string $sourceDirectory = '_posts'; public static string $parserClass = MarkdownPostParser::class; + /** + * @throws \Exception + */ public function __construct(array $matter, string $body, string $title = '', string $slug = '') { parent::__construct($matter, $body, $title, $slug); diff --git a/src/Services/RssFeedService.php b/src/Services/RssFeedService.php index db7e76de..485449de 100644 --- a/src/Services/RssFeedService.php +++ b/src/Services/RssFeedService.php @@ -24,6 +24,9 @@ public function __construct() $this->addInitialChannelItems(); } + /** + * @throws \Exception + */ public function generate(): self { /** @var MarkdownPost $post */