| Total Complexity | 3 | 
| Total Lines | 41 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 0 | ||
| 1 | <?php | ||
| 17 | class DataHelper { | ||
| 18 | /** | ||
| 19 | * Data | ||
| 20 | * | ||
| 21 | * @var array | ||
| 22 | */ | ||
| 23 | private $data; | ||
| 24 | |||
| 25 | /** | ||
| 26 | * Constructs and initialize a Ogone data default helper class | ||
| 27 | * | ||
| 28 | * @param Data $data Data. | ||
| 29 | */ | ||
| 30 | 	public function __construct( Data $data ) { | ||
| 32 | } | ||
| 33 | |||
| 34 | /** | ||
| 35 | * Set user id | ||
| 36 | * | ||
| 37 | * @param string $user_id User ID. | ||
| 38 | * | ||
| 39 | * @return DataHelper | ||
| 40 | */ | ||
| 41 | 	public function set_user_id( $user_id ) { | ||
| 42 | $this->data->set_field( 'USERID', $user_id ); | ||
| 43 | |||
| 44 | return $this; | ||
| 45 | } | ||
| 46 | |||
| 47 | /** | ||
| 48 | * Set password | ||
| 49 | * | ||
| 50 | * @param string $password Password. | ||
| 51 | * | ||
| 52 | * @return DataHelper | ||
| 53 | */ | ||
| 54 | 	public function set_password( $password ) { | ||
| 58 | } | ||
| 59 | } | ||
| 60 | 
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..