Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class PhpVersionFactory extends Factory |
||
9 | { |
||
10 | /** |
||
11 | * The name of the factory's corresponding model. |
||
12 | * |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $model = PhpVersion::class; |
||
16 | |||
17 | /** |
||
18 | * Define the model's default state. |
||
19 | * |
||
20 | * @return array |
||
21 | */ |
||
22 | public function definition() |
||
27 | ]; |
||
28 | } |
||
29 | |||
30 | public function default() |
||
39 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.