Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function definition() |
||
12 | { |
||
13 | return [ |
||
14 | 'place_name' => $this->faker->city(), |
||
15 | 'county' => $this->faker->city(), |
||
16 | 'country' => $this->faker->city(), |
||
17 | 'grid_reference' => $this->faker->word(), |
||
18 | 'easting' => random_int(0, 999), |
||
19 | 'northing' => random_int(0, 999), |
||
20 | 'latitude' => $this->faker->latitude(), |
||
21 | 'longitude' => $this->faker->longitude(), |
||
22 | 'postcode_area' => $this->faker->postcode(), |
||
23 | 'type' => 'Other', |
||
24 | ]; |
||
27 |