summaryrefslogtreecommitdiff
path: root/read.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 /read.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 'read.php')
-rwxr-xr-xread.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/read.php b/read.php
index 53f10f9..6f6ddd1 100755
--- a/read.php
+++ b/read.php
@@ -46,7 +46,7 @@ $gContent->addHit();
$gBitSmarty->assign( 'article', $gContent->mInfo );
// get all the services that want to display something on this page
-$displayHash = array( 'perm_name' => 'p_articles_read' );
+$displayHash = [ 'perm_name' => 'p_articles_read' ];
$gContent->invokeServices( 'content_display_function', $displayHash );
$topics = BitArticleTopic::getTopicList();
@@ -54,7 +54,7 @@ $gBitSmarty->assign( 'topics', $topics );
// Comments engine!
if( @$gContent->mInfo['allow_comments'] == 'y' ) {
- $comments_vars = Array( 'article' );
+ $comments_vars = [ 'article' ];
$comments_prefix_var='article:';
$comments_object_var='article';
$commentsParentId = $gContent->mContentId;