1 | <?php |
||
10 | class MethodNameGenerator implements \TildBJ\Seeder\Generator |
||
11 | { |
||
12 | /** |
||
13 | * @var \TildBJ\Seeder\Faker $faker |
||
14 | */ |
||
15 | protected $faker; |
||
16 | |||
17 | /** |
||
18 | * MethodNameGenerator constructor. |
||
19 | */ |
||
20 | 10 | public function __construct(\TildBJ\Seeder\Faker $faker) |
|
24 | |||
25 | /** |
||
26 | * @return mixed|void |
||
|
|||
27 | */ |
||
28 | 7 | 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.