0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-05-05 08:40:11 +00:00

Applied latest StyleCI changes

This commit is contained in:
Dan Brown 2021-12-18 11:43:05 +00:00
parent a3ead5062a
commit 04f37e21e2
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
13 changed files with 53 additions and 52 deletions

View file

@ -7,7 +7,6 @@ use Illuminate\Database\Eloquent\Factories\Factory;
class WebhookFactory extends Factory
{
protected $model = Webhook::class;
/**
@ -18,9 +17,9 @@ class WebhookFactory extends Factory
public function definition()
{
return [
'name' => 'My webhook for ' . $this->faker->country(),
'name' => 'My webhook for ' . $this->faker->country(),
'endpoint' => $this->faker->url,
'active' => true,
'active' => true,
];
}
}

View file

@ -17,7 +17,7 @@ class WebhookTrackedEventFactory extends Factory
{
return [
'webhook_id' => Webhook::factory(),
'event' => ActivityType::all()[array_rand(ActivityType::all())],
'event' => ActivityType::all()[array_rand(ActivityType::all())],
];
}
}