summaryrefslogtreecommitdiff
path: root/articles_rss.php
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:28:52 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:28:52 +0100
commit3cb0ce6c7e88d2b46847ad101c32969a50226739 (patch)
tree62632ef9b79b82777878eba5dbeb41c051d8aa58 /articles_rss.php
parenta77efe016535086907ffd1d9f01f756333774583 (diff)
downloadarticles-3cb0ce6c7e88d2b46847ad101c32969a50226739.tar.gz
articles-3cb0ce6c7e88d2b46847ad101c32969a50226739.tar.bz2
articles-3cb0ce6c7e88d2b46847ad101c32969a50226739.zip
php-cs-fixer updates to php8.5 style
Diffstat (limited to 'articles_rss.php')
-rwxr-xr-xarticles_rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/articles_rss.php b/articles_rss.php
index 611438c..02f796e 100755
--- a/articles_rss.php
+++ b/articles_rss.php
@@ -32,11 +32,11 @@ if( !$gBitUser->hasPermission( 'p_articles_read' ) ) {
$rss->useCached( $rss_version_name, $cacheFile, $gBitSystem->getConfig( 'rssfeed_cache_time' ));
$articles = new BitArticle();
- $listHash = array(
+ $listHash = [
'status_id' => ARTICLE_STATUS_APPROVED,
'sort_mode' => 'publish_date_desc',
'max_records' => $gBitSystem->getConfig( 'articles_rss_max_records', 10 ),
- );
+ ];
$feeds = $articles->getList( $listHash );
// set the rss link