mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 13:53:45 +02:00
[L6] Add support for custom model validation logic
This commit is contained in:
@@ -24,7 +24,7 @@ class Setting extends Validable
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected static $applicationRules = [
|
||||
public static $validationRules = [
|
||||
'key' => 'required|string|between:1,255',
|
||||
'value' => 'string',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user