Fix a bunch of "Since fakerphp/faker 1.14: Accessing property.." (#14267)

This commit is contained in:
Jellyfrog
2022-09-01 19:31:25 +02:00
committed by GitHub
parent 3e2d7435af
commit 127776e28c
12 changed files with 24 additions and 24 deletions

View File

@@ -23,8 +23,8 @@ class DeviceFactory extends Factory
public function definition()
{
return [
'hostname' => $this->faker->domainWord . '-' . $this->faker->domainWord . '-' . $this->faker->domainWord . '.' . $this->faker->domainName,
'ip' => $this->faker->randomElement([$this->faker->ipv4, $this->faker->ipv6]),
'hostname' => $this->faker->domainWord() . '-' . $this->faker->domainWord() . '-' . $this->faker->domainWord() . '.' . $this->faker->domainName(),
'ip' => $this->faker->randomElement([$this->faker->ipv4(), $this->faker->ipv6()]),
'type' => $this->faker->randomElement([
'appliance',
'camera',