| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class ParseLine |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param int $time |
||
| 17 | * @param string $logLine |
||
| 18 | * @return bool |
||
| 19 | */ |
||
| 20 | public static function isOlderThan(int $time, string $logLine): bool |
||
| 21 | { |
||
| 22 | return true; |
||
| 23 | } |
||
| 24 | |||
| 25 | |||
| 26 | /** |
||
| 27 | * @param string $logLine |
||
| 28 | * @param int|null $year |
||
| 29 | * @return int|false |
||
| 30 | */ |
||
| 31 | public static function getUnixTime(string $logLine, int $year = null) |
||
| 46 | } |
||
| 47 | } |
||
| 48 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.