Skip to content

Commit 20c3cca

Browse files
committed
CS fixes
1 parent b8893fc commit 20c3cca

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

include/shared-manual.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function manual_note_display(UserNote $note, $voteOption = true)
125125
$date = new DateTime("@{$note->ts}");
126126
$datestr = relTime($date);
127127
$fdatestr = $date->format("Y-m-d h:i");
128-
$text = clean_note($note->text);
128+
$text = clean_note($note->text);
129129

130130
// Calculate note rating by up/down votes
131131
$vote = $note->upvotes - $note->downvotes;

src/UserNotes/UserNote.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,25 @@ final class UserNote
1010
{
1111
/** @var string $id */
1212
public $id;
13+
1314
/** @var string $sect */
1415
public $sect;
16+
1517
/** @var string $rate */
1618
public $rate;
19+
1720
/** @var string $ts */
1821
public $ts;
22+
1923
/** @var string $user */
2024
public $user;
25+
2126
/** @var string $text */
2227
public $text;
28+
2329
/** @var int $upvotes */
2430
public $upvotes;
31+
2532
/** @var int $downvotes */
2633
public $downvotes;
2734

0 commit comments

Comments
 (0)