. */ declare(strict_types=1); namespace FireflyIII\Http\Requests; /** * Class MassEditBulkJournalRequest. */ class BulkEditJournalRequest extends Request { /** * @return bool */ public function authorize() { // Only allow logged in users return auth()->check(); } /** * @return array */ public function rules() { // fixed return [ 'journals.*' => 'required|belongsToUser:transaction_journals,id', ]; } }