title: upload multiple images with system the validation not work
body: <p>I tried to upload multiple images using validation system, even I upload the jpeg type images it gives me validation system error The images must be a file of type: jpeg, jpg, png, gif, svg.</p>
  <p><strong>register.blade.php</strong></p>
  <pre><code>&lt;form method=&quot;POST&quot; action=&quot;{{ route('register') }}&quot; enctype=&quot;multipart/form-data&quot;&gt;
       @csrf
  &lt;div class=&quot;form-group&quot; id=&quot;divim&quot;&gt;
              &lt;label&gt;photos&lt;span class=&quot;text-hightlight&quot;&gt;*&lt;/span&gt;&lt;/label&gt;
              &lt;input class=&quot;form-control&quot; type=&quot;file&quot; name=&quot;images[]&quot; value=&quot;{{ old('images') }}&quot; multiple&gt;
              @error('images')
                  &lt;span class=&quot;invalid-feedback&quot; role=&quot;alert&quot;&gt;
                      &lt;strong&gt;{{ $message }}&lt;/strong&gt;
                  &lt;/span&gt;
              @enderror
          &lt;/div&gt;
          
           &lt;div class=&quot;col-md-6 offset-md-4&quot;&gt;
              &lt;button type=&quot;submit&quot; class=&quot;btn btn-primary&quot;&gt;
                  {{ __('Register') }}
              &lt;/button&gt;
           &lt;/div&gt;
         &lt;/form&gt;
  </code></pre>
  <p><strong>RegisterController.php</strong></p>
  <pre><code>protected function validator(array $data)
      {
          return Validator::make($data, [
       'images' =&gt; ['bail','required','mimes:jpeg,jpg,png,gif,svg','max:2048']
          ]);
      }
  </code></pre>
  <p><strong>method create/store</strong></p>
  <pre><code>protected function create(array $data)
      { 
  $dataim = array();
           if($request-&gt;hasFile('images'))
           {
              foreach($request-&gt;file('images') as $file) 
              {
                  $namee = encrypt($file-&gt;getClientOriginalName()).'.'.$file-&gt;extension();
                  //$name = encrypt($namee).'.'.$file-&gt;extension();
                  $name = &quot;profiles\\&quot;.$jdate-&gt;format('F').$jdate-&gt;year.&quot;\\&quot;.$namee;
                  $file-&gt;storeAs(&quot;public\\profiles\\&quot;.$jdate-&gt;format('F').$jdate-&gt;year, $namee); 
                  //$Annonce-&gt;images = &quot;annonces\\&quot;.$jdate-&gt;format('F').$jdate-&gt;year.&quot;\\&quot;.time().'.'.$image-&gt;extension();  
                  array_push($dataim,$name);
              }
           }
          $user-&gt;images=json_encode($dataim);
          $imm =$user-&gt;images;
  return User::create([
   'images'       =&gt; $imm
          ]);
      }
  </code></pre>