1 | <?php |
||
15 | final class RouteExampleFactory implements ExampleFactoryInterface |
||
16 | { |
||
17 | /** |
||
18 | * @var FactoryInterface |
||
19 | */ |
||
20 | private $routeFactory; |
||
21 | |||
22 | /** |
||
23 | * @var \Faker\Generator |
||
24 | */ |
||
25 | private $faker; |
||
26 | |||
27 | /** |
||
28 | * @var OptionsResolver |
||
29 | */ |
||
30 | private $optionsResolver; |
||
31 | |||
32 | /** |
||
33 | * @param FactoryInterface $routeFactory |
||
34 | * @param RepositoryInterface $staticContentRepository |
||
35 | */ |
||
36 | public function __construct(FactoryInterface $routeFactory, RepositoryInterface $staticContentRepository) |
||
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | public function create(array $options = []) |
||
66 | } |
||
67 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.