21 lines
468 B
PHP
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'
|
|
]
|
|
);
|
|
}
|
|
}
|