| Conditions | 3 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function handle() |
||
| 38 | { |
||
| 39 | // if(! $this->user->hasWallet()) |
||
| 40 | if(! $this->user->wallet()->first()) |
||
| 41 | { |
||
| 42 | $data['amount'] = 0; |
||
| 43 | if($this->checkIfTestWalletPeriodOn()) |
||
| 44 | { |
||
| 45 | $data['amount'] = $this->test_count; |
||
| 46 | } |
||
| 47 | |||
| 48 | $this->getWalletsRepository() |
||
| 49 | ->create($this->user, $data); |
||
| 50 | } |
||
| 51 | } |
||
| 52 | |||
| 70 | } |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.