ldc-legaulois/app/Http/Requests/Bo/UpdateDansLesPresContentRequest.php

22 lines
468 B
PHP
Raw Normal View History

2022-08-17 11:19:21 +00:00
<?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'
]
);
}
}