Skip to content

Commit 2ec62b3

Browse files
committed
fix: suppress PHPMD UnusedFormalParameter for register() stub
The register() method is part of the IBootstrap interface contract. Like boot(), its $context parameter is intentionally unused in the template since it serves as a placeholder for app-specific registrations.
1 parent 31156db commit 2ec62b3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/AppInfo/Application.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public function __construct()
4949
* @param IRegistrationContext $context The registration context
5050
*
5151
* @return void
52+
*
53+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
5254
*/
5355
public function register(IRegistrationContext $context): void
5456
{

0 commit comments

Comments
 (0)