StyleCi
This commit is contained in:
parent
3de57df3d0
commit
3a921133fe
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue