mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
Use Faker methods
Accessing Faker properties was deprecated in Faker 1.14.
This commit is contained in:
committed by
HolgerHatGarKeineNode
parent
5776b01d15
commit
e3c175e5fe
@@ -23,20 +23,20 @@ class BookCaseFactory extends Factory
|
||||
{
|
||||
return [
|
||||
'title' => $this->faker->sentence(4),
|
||||
'lat' => $this->faker->latitude,
|
||||
'lat' => $this->faker->latitude(),
|
||||
'lon' => '{}',
|
||||
'address' => $this->faker->text,
|
||||
'type' => $this->faker->word,
|
||||
'open' => $this->faker->word,
|
||||
'comment' => $this->faker->text,
|
||||
'contact' => $this->faker->text,
|
||||
'bcz' => $this->faker->text,
|
||||
'digital' => $this->faker->boolean,
|
||||
'icontype' => $this->faker->word,
|
||||
'deactivated' => $this->faker->boolean,
|
||||
'deactreason' => $this->faker->word,
|
||||
'entrytype' => $this->faker->word,
|
||||
'homepage' => $this->faker->word,
|
||||
'address' => $this->faker->text(),
|
||||
'type' => $this->faker->word(),
|
||||
'open' => $this->faker->word(),
|
||||
'comment' => $this->faker->text(),
|
||||
'contact' => $this->faker->text(),
|
||||
'bcz' => $this->faker->text(),
|
||||
'digital' => $this->faker->boolean(),
|
||||
'icontype' => $this->faker->word(),
|
||||
'deactivated' => $this->faker->boolean(),
|
||||
'deactreason' => $this->faker->word(),
|
||||
'entrytype' => $this->faker->word(),
|
||||
'homepage' => $this->faker->word(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user