mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 10:24:45 +02:00
StyleCi
This commit is contained in:
parent
3de57df3d0
commit
3a921133fe
@ -48,7 +48,7 @@ class VariableRepository
|
||||
$option = ServiceOption::select('id')->findOrFail($option);
|
||||
|
||||
// If there is not a rules present let's populate it with the default/placeholder value.
|
||||
if(!array_key_exists('rules',$data) || empty($data['rules'])){
|
||||
if (! array_key_exists('rules', $data) || empty($data['rules'])) {
|
||||
$data['rules'] = 'required|string|max:20';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user