code fixes

This commit is contained in:
Dennis Eichhorn 2024-03-15 20:24:38 +00:00
parent 9ce7a56dde
commit 3d49a7b363
3 changed files with 27 additions and 16 deletions

View File

@ -45,8 +45,19 @@ use phpOMS\Utils\Parser\Markdown\Markdown;
*/
final class ApiController extends Controller
{
// @todo Create another notification whenever a comment is created for a card
// The card owner and all previous commentators should receive a notification
/**
* Create a notification for a card
*
* @param KanbanCard $card Card to create notification for
* @param RequestAbstract $request Request
*
* @return void
*
* @todo Create another notification whenever a comment is created for a card
* The card owner and all previous commentators should receive a notification
*
* @since 1.0.0
*/
private function createCardNotifications(KanbanCard $card, RequestAbstract $request) : void
{
$accounts = AccountMapper::findReadPermission(