| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 37 | public function __construct($tableName, Schema $dbSchema) { |
||
| 38 | $this->db = $dbSchema->getDb(); |
||
| 39 | |||
| 40 | $this->tableName = $tableName; |
||
| 41 | |||
| 42 | $this->fields = $this->db->mysql_get_fields($this->tableName); |
||
|
|
|||
| 43 | $this->indexes = $this->db->mysql_get_indexes($this->tableName); |
||
| 44 | $this->constraints = $this->db->mysql_get_constraints($this->tableName); |
||
| 45 | } |
||
| 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..