Why my validator is not validating? Laravel

Why my validator is not validating the input-email, it accepts anything! This is my controller to update database. The name in form is correct public function atualizar(Request $req){ $erros = [ ’email’ => ‘Introduza um e-mail válido!’ ]; $validator = Validator::make($req->all(), [ ‘input-email’ => ‘nullable|required_with:input-email|email:rfc,dns,filter’ ],$erros); if ($req->has(‘input-email’)) { $inputEmail = $req->input(‘input-email’); } if (!isset($inputEmail)){…

Details

Why does my compiler throw a “no suitable constructor found for Window(int,int,String,Game)” error?

I’m learning to build a game with this tutorial on youtube: https://www.youtube.com/watch?v=1gir2R7G9ws I’ve went over the code a few times now and I can’t seem to find a discrepancy between my code and the code used in the tutorial. I’m also getting this information in my terminal: new Window(WIDTH, HEIGHT, “Let’s Build A Game!”, this);…

Details