ldc-legaulois/app/Http/Requests/Bo/UpdateDansLesPresContentRequest.php
Vincent BRIDIER 1faa324639 Dans les pres
2022-08-17 11:19:21 +00:00

21 lines
468 B
PHP

<?php
namespace App\Http\Requests\Bo;
class UpdateDansLesPresContentRequest extends StoreDansLesPresContentRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return array_merge(
parent::rules(),
[
'picture' => 'sometimes|image|mimes:jpeg,png,jpg|max:2048|dimensions:width=1366,height=553'
]
);
}
}