Conditions | 4 |
Paths | 8 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
9 | public function __invoke(Request $request) |
||
10 | { |
||
11 | $user = $this->getCurrentUser($request); |
||
12 | |||
13 | $body = $request->getParsedBody(); |
||
14 | $start = isset($body->start) ? $body->start : ''; |
||
15 | $end = isset($body->end) ? $body->end : ''; |
||
16 | $break = isset($body->break) ? $body->break : ''; |
||
17 | |||
18 | return [$user, $start, $end, $break]; |
||
19 | } |
||
20 | } |
||
21 |