| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | private function processPicture($request): array |
||
| 23 | { |
||
| 24 | $picture = []; |
||
| 25 | if ($request->has('logo')) { |
||
| 26 | $picture['path_picture'] = $request->file('logo')->path(); |
||
| 27 | $picture['original_name'] = $request->file('logo')->getClientOriginalName(); |
||
| 28 | $picture['mine_type'] = $request->file('logo')->getMimeType(); |
||
| 29 | } |
||
| 30 | return $picture; |
||
| 31 | } |
||
| 44 |