Apply fixes from StyleCI
This commit is contained in:

committed by
StyleCI Bot

parent
857d3004eb
commit
88f3df2180
@@ -30,11 +30,12 @@ class LableUpdate extends Request
|
||||
public function rules()
|
||||
{
|
||||
$label_data = \Request::segments();
|
||||
$label = Label::find($label_data[1]);
|
||||
$label = Label::find($label_data[1]);
|
||||
|
||||
return [
|
||||
'title' => 'required|max:10|unique:labels,title,'.$label->id,
|
||||
'color' => 'required|regex:/#([a-fA-F0-9]{3}){1,2}\b/',
|
||||
'order' => 'required|integer'
|
||||
];
|
||||
'order' => 'required|integer',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user