Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
11 | public function __invoke(ValidateSourceRefEvenRequest $request, SourceRefEven $sourceRefEven) |
||
12 | { |
||
13 | $sourceRefEven->fill($request->validated())->save(); |
||
14 | |||
15 | return [ |
||
16 | 'message' => __('The source ref even was successfully created'), |
||
17 | 'redirect' => 'sourcerefeven.edit', |
||
18 | 'param' => ['sourceRefEven' => $sourceRefEven->id], |
||
19 | ]; |
||
22 |