| Total Complexity | 4 | 
| Total Lines | 47 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 16 | class Directory { | 
            ||
| 17 | /**  | 
            ||
| 18 | * The date the issuer list was modified  | 
            ||
| 19 | *  | 
            ||
| 20 | * @var string  | 
            ||
| 21 | */  | 
            ||
| 22 | private $date;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * The countries in this directory  | 
            ||
| 26 | *  | 
            ||
| 27 | * @var array  | 
            ||
| 28 | */  | 
            ||
| 29 | private $countries;  | 
            ||
| 30 | |||
| 31 | /**  | 
            ||
| 32 | * Constructs and initializes an directory  | 
            ||
| 33 | */  | 
            ||
| 34 | 	public function __construct() { | 
            ||
| 35 | $this->countries = array();  | 
            ||
| 36 | }  | 
            ||
| 37 | |||
| 38 | /**  | 
            ||
| 39 | * Set the specified date  | 
            ||
| 40 | *  | 
            ||
| 41 | * @param DateTime $date  | 
            ||
| 42 | */  | 
            ||
| 43 | 	public function set_date( DateTime $date ) { | 
            ||
| 44 | $this->date = $date;  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 45 | }  | 
            ||
| 46 | |||
| 47 | /**  | 
            ||
| 48 | * Add the specified country to this directory  | 
            ||
| 49 | *  | 
            ||
| 50 | * @param Country $country  | 
            ||
| 51 | */  | 
            ||
| 52 | 	public function add_country( Country $country ) { | 
            ||
| 53 | $this->countries[] = $country;  | 
            ||
| 54 | }  | 
            ||
| 55 | |||
| 56 | /**  | 
            ||
| 57 | * Get the countries within this directory  | 
            ||
| 58 | *  | 
            ||
| 59 | * @return array  | 
            ||
| 60 | */  | 
            ||
| 61 | 	public function get_countries() { | 
            ||
| 63 | }  | 
            ||
| 64 | }  | 
            ||
| 65 | 
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..