| Total Complexity | 6 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait Eventable |
||
| 8 | { |
||
| 9 | protected function saving(): bool |
||
| 10 | { |
||
| 11 | return true; |
||
| 12 | } |
||
| 13 | |||
| 14 | protected function saved(): void |
||
| 15 | { |
||
| 16 | } |
||
| 17 | |||
| 18 | protected function deleting(): bool |
||
| 21 | } |
||
| 22 | |||
| 23 | protected function deleted(): void |
||
| 24 | { |
||
| 25 | } |
||
| 26 | |||
| 27 | protected function searching(): bool |
||
| 28 | { |
||
| 29 | return true; |
||
| 30 | } |
||
| 31 | |||
| 32 | protected function searched(SearchResponse $response): void |
||
| 34 | } |
||
| 35 | } |
||
| 36 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.