1 | <?php |
||
8 | final class SecondFactorLocaleProvider implements LocaleProviderService |
||
9 | { |
||
10 | /** |
||
11 | * @var ProxyStateHandler |
||
12 | */ |
||
13 | private $stateHandler; |
||
14 | |||
15 | public function __construct(ProxyStateHandler $stateHandler) |
||
19 | |||
20 | /** |
||
21 | * @return string |
||
|
|||
22 | */ |
||
23 | public function determinePreferredLocale() |
||
27 | } |
||
28 |
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.