1 | <?php |
||
7 | final class ContainerAdapterFactory |
||
8 | { |
||
9 | /** |
||
10 | * @var array |
||
11 | */ |
||
12 | private $config; |
||
13 | |||
14 | public function __construct(array $config) |
||
18 | |||
19 | /** |
||
20 | * @param object $container |
||
21 | * |
||
22 | * @return void |
||
|
|||
23 | * |
||
24 | * @throws UnknownContainerException |
||
25 | */ |
||
26 | public function create($container) |
||
49 | } |
||
50 |
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.