| Conditions | 1 | 
| Total Lines | 18 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 21 | public function setUp(): void | ||
| 22 |     { | ||
| 23 |         $this->abstractProvider = new class extends AbstractProvider { | ||
| 24 | |||
| 25 | /** | ||
| 26 | * @param int $page | ||
| 27 | * @return UrlBuilderInterface | ||
| 28 | */ | ||
| 29 | protected function createUrl(int $page): UrlBuilderInterface | ||
| 30 |             { | ||
| 31 | // TODO: Implement createUrl() method. | ||
| 32 | } | ||
|  | |||
| 33 | |||
| 34 | /** | ||
| 35 | * @return ParseRulesBuilder | ||
| 36 | */ | ||
| 37 | protected function createParseRules(): ParseRulesBuilder | ||
| 38 |             { | ||
| 39 | // TODO: Implement createParseRules() method. | ||
| 49 | } | 
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: