mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
build version 400
This commit is contained in:
@@ -25,7 +25,10 @@ class PaymentMethodRequest extends FormRequest
|
||||
public function rules()
|
||||
{
|
||||
$data = [
|
||||
'name' => 'required|unique:payment_methods,name'
|
||||
'name' => [
|
||||
'required',
|
||||
'unique:payment_methods,name'
|
||||
]
|
||||
];
|
||||
|
||||
if ($this->getMethod() == 'PUT') {
|
||||
|
||||
Reference in New Issue
Block a user