src/Http/Requests/HCUserRequest.php
public function getPersonalData(): array
    {
        $photo = $this->input('photo_id');

        if (is_array($photo) && !$photo) {
            $photo = null;
        }

        return [
            'first_name' => $this->input('first_name'),
            'last_name' => $this->input('last_name'),
            'photo_id' => $photo,
            'description' => $this->input('description'),
            'phone' => $this->input('phone'),
            'address' => $this->input('address'),
            'notification_email' => $this->input('notification_email'),
        ];
    }
public function getPersonalData(): array
    {
        $photo = $this->input('photo_id');

        if (is_array($photo) && !$photo) {
            $photo = null;
        }

        return [
            'first_name' => $this->input('first_name'),
            'last_name' => $this->input('last_name'),
            'photo_id' => $photo,
            'description' => $this->input('description'),
            'phone' => $this->input('phone'),
            'address' => $this->input('address'),
            'notification_email' => $this->input('notification_email'),
        ];
    }
public function getPersonalData ( ) : array { $ photo = $ this -> input ( 'photo_id' ) ; if ( is_array ( $ photo ) && ! $ photo ) { $ photo = null ; } return [ 'first_name' => $ this -> input ( 'first_name' ) , 'last_name' => $ this -> input ( 'last_name' ) , 'photo_id' => $ photo , 'description' => $ this -> input ( 'description' ) , 'phone' => $ this -> input ( 'phone' ) , 'address' => $ this -> input ( 'address' ) , 'notification_email' => $ this -> input ( 'notification_email' ) , ] ; }
Get personal info

@return array
Get personal info