the browser-facing portion of osu!
at master 28 lines 609 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; 9 10use App\Models\Season; 11use Illuminate\Database\Eloquent\Factories\Factory; 12 13class SeasonFactory extends Factory 14{ 15 protected $model = Season::class; 16 17 /** 18 * Define the model's default state. 19 * 20 * @return array 21 */ 22 public function definition(): array 23 { 24 return [ 25 'name' => $this->faker->sentence(), 26 ]; 27 } 28}