| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function create() |
||
| 22 | { |
||
| 23 | return DB::transaction(function () { |
||
| 24 | $language = (new Language()) |
||
| 25 | ->storeWithFlagSufix($this->request, $this->flagSuffix); |
||
|
|
|||
| 26 | |||
| 27 | (new LegacyStorer($this->request['name']))->create(); |
||
| 28 | (new JsonStorer($this->request['name']))->create(); |
||
| 29 | |||
| 30 | return $language; |
||
| 31 | }); |
||
| 34 |