From 2f69579ddb37bd17eedcfd5f76efe2d8c46e55e9 Mon Sep 17 00:00:00 2001 From: Hugo Sales Date: Wed, 28 Jul 2021 21:19:16 +0000 Subject: [PATCH] [TESTS][DOCUMENTATION][Module] Add documentation and exclude method from testing in Module base class --- src/Core/Modules/Module.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Core/Modules/Module.php b/src/Core/Modules/Module.php index a75a1894d9..3a9910d5c1 100644 --- a/src/Core/Modules/Module.php +++ b/src/Core/Modules/Module.php @@ -47,6 +47,10 @@ abstract class Module /** * Handle the $form submission for the note action for note if * $note->getId() == $data['note_id'] + * + * This function is called when a user interacts with a note, such as through favouriting or commenting + * + * @codeCoverageIgnore */ public static function noteActionHandle(Request $request, Form $form, Note $note, string $form_name, callable $handle) {