🤖 Rector and PHPCS fixes

This commit is contained in:
splitbrain 2024-01-30 08:44:03 +00:00 committed by GitHub
parent 9ada0a85a2
commit 2abe2b13fc
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@
* @global Input $INPUT
*/
use dokuwiki\Feed\FeedCreator;
use dokuwiki\Feed\FeedCreatorOptions;
use dokuwiki\Cache\Cache;
use dokuwiki\ChangeLog\MediaChangeLog;
@ -64,7 +65,7 @@ if ($cache->useCache($depends)) {
// create new feed
try {
$feed = (new \dokuwiki\Feed\FeedCreator($options))->build();
$feed = (new FeedCreator($options))->build();
$cache->storeCache($feed);
echo $feed;
} catch (Exception $e) {