wip
This commit is contained in:
1 parent
af855b0152
commit
d9082f8d8d
1 file changed
+2
-4
@@ -16,8 +16,7 @@ public static function reciverFiles(): array
|
|||||||
->map(function (array $file) {
|
->map(function (array $file) {
|
||||||
return Files::make(__($file['name']), $file['code'])
|
return Files::make(__($file['name']), $file['code'])
|
||||||
->required()
|
->required()
|
||||||
->rules('required')
|
->rules('required');
|
||||||
->singleMediaRules(['max:2048']);
|
|
||||||
})
|
})
|
||||||
->toArray();
|
->toArray();
|
||||||
}
|
}
|
||||||
@@ -31,8 +30,7 @@ public static function senderFiles(): array
|
|||||||
->map(function (array $file) {
|
->map(function (array $file) {
|
||||||
return Files::make(__($file['name']), $file['code'])
|
return Files::make(__($file['name']), $file['code'])
|
||||||
->required()
|
->required()
|
||||||
->rules('required')
|
->rules('required');
|
||||||
->singleMediaRules(['max:2048']);
|
|
||||||
})
|
})
|
||||||
->toArray();
|
->toArray();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user