diff options
| author | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:28:52 +0100 |
|---|---|---|
| committer | Lester Caine <lester@lsces.co.uk> | 2026-05-14 09:28:52 +0100 |
| commit | 3cb0ce6c7e88d2b46847ad101c32969a50226739 (patch) | |
| tree | 62632ef9b79b82777878eba5dbeb41c051d8aa58 /read.php | |
| parent | a77efe016535086907ffd1d9f01f756333774583 (diff) | |
| download | articles-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-x | read.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |
