summaryrefslogtreecommitdiff
path: root/includes/classes
diff options
context:
space:
mode:
authorLester Caine <lester@lsces.co.uk>2026-05-14 09:51:41 +0100
committerLester Caine <lester@lsces.co.uk>2026-05-14 09:51:41 +0100
commit7374f3ee3f2b82ec1127df6829c6de3b7eb8f83f (patch)
treec2cde62051a96befaf440cc6bc91269ced4211f2 /includes/classes
parenta0c052669b47eebb7cfaa4ece6f2b9aa16d3d357 (diff)
downloadfeed-master.tar.gz
feed-master.tar.bz2
feed-master.zip
php-cs-fixer tidies to php8.5 standardsHEADmaster
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'includes/classes')
-rwxr-xr-xincludes/classes/FeedStatus.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/includes/classes/FeedStatus.php b/includes/classes/FeedStatus.php
index 07d4b97..fb5f34a 100755
--- a/includes/classes/FeedStatus.php
+++ b/includes/classes/FeedStatus.php
@@ -12,6 +12,7 @@
* required setup
*/
namespace Bitweaver\Feed;
+
use Bitweaver\Liberty\LibertyComment;
use Bitweaver\Users\RoleUser;
@@ -27,15 +28,15 @@ class FeedStatus extends LibertyComment {
* During initialisation, be sure to call our base constructors
**/
public function FeedStatus($pCommentId = null, $pContentId = null, $pInfo = null) {
-
+
LibertyComment::LibertyComment($pCommentId,$pContentId,$pInfo);
-
+
/* // Permission setup
$this->mViewContentPerm = 'p_boards_read';
$this->mUpdateContentPerm = 'p_boards_post_update';
$this->mAdminContentPerm = 'p_boards_admin';
*/
-
+
$this->mContentTypeGuid = FEEDSTATUS_CONTENT_TYPE_GUID;
$this->registerContentType( FEEDSTATUS_CONTENT_TYPE_GUID, [
'content_type_guid' => FEEDSTATUS_CONTENT_TYPE_GUID,
@@ -43,7 +44,7 @@ class FeedStatus extends LibertyComment {
'handler_class' => 'FeedStatus',
'handler_package' => 'feed',
'handler_file' => 'FeedStatus.php',
- 'maintainer_url' => 'https://www.bitweaver.org'
+ 'maintainer_url' => 'https://www.bitweaver.org',
] );
/*
$this->mViewContentPerm = 'p_loc_view';
@@ -52,7 +53,7 @@ class FeedStatus extends LibertyComment {
$this->mAdminContentPerm = 'p_loc_admin';
*/
}
-
+
public function getThumbnailUrl( string $pSize = 'avatar', ?array $pInfoHash = null, ?int $pSecondaryId = null, ?int $pDefault = null ): string|null {
$rootUser = new RoleUser(null,$this->mInfo['root_id']);
$rootUser->load();