user() !== null; } public function rules(): array { return [ 'ordered_artwork_ids' => ['required', 'array'], 'ordered_artwork_ids.*' => ['integer', 'distinct'], ]; } }