We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3de57df commit 3a92113Copy full SHA for 3a92113
app/Repositories/VariableRepository.php
@@ -48,7 +48,7 @@ public function create($option, array $data)
48
$option = ServiceOption::select('id')->findOrFail($option);
49
50
// If there is not a rules present let's populate it with the default/placeholder value.
51
- if(!array_key_exists('rules',$data) || empty($data['rules'])){
+ if (! array_key_exists('rules', $data) || empty($data['rules'])) {
52
$data['rules'] = 'required|string|max:20';
53
}
54
0 commit comments