| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | final class DummyBufferedHash extends BufferedHash |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @inheritdoc |
||
| 13 | */ |
||
| 14 | public function __construct(string $algorithm, string $path) |
||
| 15 | { |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @inheritdoc |
||
| 20 | */ |
||
| 21 | public function verify(string $signature): bool |
||
| 22 | { |
||
| 23 | } |
||
|
1 ignored issue
–
show
|
|||
| 24 | |||
| 25 | public function getPublicBufferedData(): string |
||
| 28 | } |
||
| 29 | } |
For hinted functions/methods where all return statements with the correct type are only reachable via conditions, ?null? gets implicitly returned which may be incompatible with the hinted type. Let?s take a look at an example: