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