| Conditions | 4 |
| Paths | 8 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Usman\Guardian\Repositories; |
||
| 43 | protected function fillData(array $data) |
||
| 44 | { |
||
| 45 | $this->model->username = (!empty($data['username'])) ? $data['username'] : $this->model->username; |
||
| 46 | $this->model->password = (!empty($data['password'])) ? Hash::make($data['password']) : $this->model->password; |
||
| 47 | $this->model->email = (!empty($data['email'])) ? $data['email'] : $this->model->email; |
||
| 48 | $this->model->active = $data['active']; |
||
| 49 | } |
||
| 50 | } |