. */ declare(strict_types=1); namespace FireflyIII\Http\Requests; use FireflyIII\Support\Request\ChecksLogin; use Illuminate\Foundation\Http\FormRequest; /** * Class MassDeleteJournalRequest. * * @codeCoverageIgnore */ class MassDeleteJournalRequest extends FormRequest { use ChecksLogin; /** * Rules for this request. * * @return array */ public function rules(): array { // fixed return [ 'confirm_mass_delete.*' => 'required|belongsToUser:transaction_journals,id', ]; } }