| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | public function profileData(): array |
||
| 48 | { |
||
| 49 | $firstName = ArrayHelper::getValue($this->profile, 'first_name'); |
||
| 50 | $lastName = ArrayHelper::getValue($this->profile, 'last_name'); |
||
| 51 | |||
| 52 | return [ |
||
| 53 | 'full_name' => trim($firstName . ' ' . $lastName), |
||
| 54 | 'photo' => str_replace('_50', '_400', ArrayHelper::getValue($this->profile, 'photo')) |
||
| 55 | ]; |
||
| 56 | } |
||
| 57 | } |
||
| 58 |