1 | <?php |
||
7 | class TraitedFixture |
||
8 | { |
||
9 | use CustomMessagesTrait; |
||
10 | |||
11 | const MESSAGE = 'trait message'; |
||
12 | |||
13 | /** |
||
14 | * @param string $method |
||
15 | * |
||
16 | * @return string |
||
17 | */ |
||
18 | public function getMessage(string $method): string |
||
22 | |||
23 | /** |
||
24 | * @param string|null $message |
||
25 | * @param string $method |
||
26 | * |
||
27 | * @return string |
||
28 | */ |
||
29 | public function call(string $message = null, string $method) |
||
33 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.