22 lines
452 B
PHP
22 lines
452 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace App\Http\Requests\Bo;
|
||
|
|
|
||
|
|
class UpdateOcbContentRequest extends StoreOcbContentRequest
|
||
|
|
{
|
||
|
|
/**
|
||
|
|
* 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'
|
||
|
|
]
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|