mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
Setup pint & run code style fix
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
namespace InvoiceShelf\Http\Requests;
|
||||
|
||||
use InvoiceShelf\Rules\Base64Mime;
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
use InvoiceShelf\Rules\Base64Mime;
|
||||
|
||||
class AvatarRequest extends FormRequest
|
||||
{
|
||||
@@ -29,12 +29,12 @@ class AvatarRequest extends FormRequest
|
||||
'nullable',
|
||||
'file',
|
||||
'mimes:gif,jpg,png',
|
||||
'max:20000'
|
||||
'max:20000',
|
||||
],
|
||||
'avatar' => [
|
||||
'nullable',
|
||||
new Base64Mime(['gif', 'jpg', 'png'])
|
||||
]
|
||||
new Base64Mime(['gif', 'jpg', 'png']),
|
||||
],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user