diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 78ffda6407..407f6081fd 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -55,6 +55,8 @@ 'elements' => [ 'arguments', 'arrays', + 'match', + 'parameters', ], ], 'trim_array_spaces' => true, diff --git a/src/UserNotes/UserNote.php b/src/UserNotes/UserNote.php index 8ea133bea3..fbb852746f 100644 --- a/src/UserNotes/UserNote.php +++ b/src/UserNotes/UserNote.php @@ -12,7 +12,7 @@ public function __construct( public string $user, public string $text, public int $upvotes = 0, - public int $downvotes = 0 + public int $downvotes = 0, ) { } }