the browser-facing portion of osu!
at master 26 lines 621 B view raw
1<?php 2 3// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0. 4// See the LICENCE file in the repository root for full licence text. 5 6declare(strict_types=1); 7 8namespace Database\Factories\Chat; 9 10use App\Models\Chat\Channel; 11use App\Models\Chat\UserChannel; 12use App\Models\User; 13use Database\Factories\Factory; 14 15class UserChannelFactory extends Factory 16{ 17 protected $model = UserChannel::class; 18 19 public function definition(): array 20 { 21 return [ 22 'user_id' => User::factory(), 23 'channel_id' => Channel::factory(), 24 ]; 25 } 26}