mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix a bunch of "Since fakerphp/faker 1.14: Accessing property.." (#14267)
This commit is contained in:
@@ -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',
|
||||
|
Reference in New Issue
Block a user