- Update various factory files in the `database/factories` directory - Remove unused imports and annotations in factory files - Add or update comments and PHPDoc blocks for better understanding and readability - Remove unused imports in controller and command files - Remove commented out code in middleware file
34 lines
722 B
PHP
34 lines
722 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\MicropubClient;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
/**
|
|
* @psalm-suppress UnusedClass
|
|
*
|
|
* @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\MicropubClient>
|
|
*/
|
|
class MicropubClientFactory extends Factory
|
|
{
|
|
/**
|
|
* The name of the factory's corresponding model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $model = MicropubClient::class;
|
|
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array<string, mixed>
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'client_url' => $this->faker->url,
|
|
'client_name' => $this->faker->company,
|
|
];
|
|
}
|
|
}
|