The expression return $this->getValueByKey($this->data, 'id') could return the type null which is incompatible with the type-hinted return integer. Consider adding an additional type-check to rule them out.
The expression return $this->getValueByKey($this->data, 'email') could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
The expression return $this->getValueBy...is->data, 'first_name') could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
The expression return $this->getValueBy...his->data, 'last_name') could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
The expression return $this->getValueBy...($this->data, 'avatar') could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
The expression return $this->getValueByKey($this->data, 'phone') could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.