- Added Psalm suppression annotations to multiple controller classes - Added PHPDoc comment blocks to seeders and factories - Added comments to indicate unused classes and methods - Removed unused annotations and imports
35 lines
966 B
PHP
35 lines
966 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\MicropubClient;
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Carbon;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class ClientsTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Seed the clients table.
|
|
*
|
|
* @psalm-suppress PossiblyUnusedMethod
|
|
*/
|
|
public function run(): void
|
|
{
|
|
DB::table('clients')->insert([
|
|
'client_url' => 'https://jbl5.dev/notes/new',
|
|
'client_name' => 'JBL5',
|
|
'created_at' => '2016-01-12 16:03:00',
|
|
'updated_at' => '2016-01-12 16:03:00',
|
|
]);
|
|
|
|
DB::table('clients')->insert([
|
|
'client_url' => 'https://beta.indigenous.abode.pub/ios/',
|
|
'client_name' => 'https://beta.indigenous.abode.pub/ios/',
|
|
'created_at' => Carbon::now()->toDateTimeString(),
|
|
'updated_at' => Carbon::now()->toDateTimeString(),
|
|
]);
|
|
|
|
MicropubClient::factory(5)->create();
|
|
}
|
|
}
|