Put filterMessagesForRole's docblock back on filterMessagesForRole

The #920 guard landed between the comment and the function it describes.
This commit is contained in:
central-worker-4
2026-09-03 14:13:44 -07:00
parent c0225d7691
commit 5315afc239

View File

@@ -47,9 +47,6 @@ class TicketController extends Controller
->exists();
}
/**
* Filter messages for submitters — strip internal notes.
*/
/**
* REFUSE A WRITE TO A MERGED TICKET — [central-ticketing] #920.
*
@@ -84,6 +81,9 @@ class TicketController extends Controller
: redirect()->route('ticketing.show', $ticket)->withErrors($errors);
}
/**
* Filter messages for submitters — strip internal notes.
*/
private function filterMessagesForRole($messages, bool $isAgent)
{
if ($isAgent) {