From 7a135ee72ca5a5df02c8f7287f1a30fcfc2892eb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Wed, 3 Jan 2018 16:26:07 +0100 Subject: [PATCH] Add missing throws tag --- .../files/lib/system/worker/SitemapRebuildWorker.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php b/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php index 0b09582aa9..289092ec78 100755 --- a/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php +++ b/wcfsetup/install/files/lib/system/worker/SitemapRebuildWorker.class.php @@ -7,6 +7,7 @@ use wcf\data\DatabaseObjectList; use wcf\data\ILinkableObject; use wcf\system\exception\ImplementationException; use wcf\system\exception\ParentClassException; +use wcf\system\exception\SystemException; use wcf\system\io\AtomicWriter; use wcf\system\io\File; use wcf\system\request\LinkHandler; @@ -247,6 +248,7 @@ class SitemapRebuildWorker extends AbstractWorker { * Writes the sitemap.xml index file and links all sitemaps. * * @param boolean $closeFile Close a previously opened handle. + * @throws SystemException */ protected function writeIndexFile($closeFile = true) { $file = new AtomicWriter(self::getSitemapPath() . 'sitemap.xml'); -- 2.20.1