1 | <?php |
||
10 | class MethodNameGenerator implements \Dennis\Seeder\Generator |
||
11 | { |
||
12 | /** |
||
13 | * @var \Dennis\Seeder\Faker $faker |
||
14 | */ |
||
15 | protected $faker; |
||
16 | |||
17 | /** |
||
18 | * MethodNameGenerator constructor. |
||
19 | */ |
||
20 | public function __construct(\Dennis\Seeder\Faker $faker) |
||
24 | |||
25 | /** |
||
26 | * @return mixed|void |
||
|
|||
27 | */ |
||
28 | public function generate($parameter) |
||
43 | } |
||
44 |
This check looks for the generic type
array
as a return type and suggests a more specific type. This type is inferred from the actual code.