1 | <?php |
||
2 | /* |
||
3 | * SPDX-License-Identifier: AGPL-3.0-only |
||
4 | * SPDX-FileCopyrightText: Copyright 2023 grommunio GmbH |
||
5 | * |
||
6 | * A trait used in response objects to ensure there is always an |
||
7 | * serverid to be responded to the client. |
||
8 | */ |
||
9 | |||
10 | trait ResponseTrait { |
||
11 | public $serverid; |
||
12 | public $hasResponse; |
||
13 | |||
14 | public function Check($logAsDebug = false) { |
||
0 ignored issues
–
show
|
|||
15 | return true; |
||
16 | } |
||
17 | } |
||
18 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.