Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. $validatedData = $request->validate([
  2. 'images' => 'required',
  3. 'images.*' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048'
  4.  
  5. ]);
  6.  
  7. $validatedData = $request->validate([
  8. 'image' => 'required',
  9. 'image' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048'
  10.  
  11. ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement