| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 44 | public function __construct($stdClass) |
||
| 45 | { |
||
| 46 | $this->state = $stdClass->state; |
||
| 47 | $this->teamSize = $stdClass->teamSize; |
||
| 48 | $this->preparationStartTime = TimeConverter::dateTimeConverter( $stdClass->preparationStartTime ); |
||
|
|
|||
| 49 | $this->startTime = TimeConverter::dateTimeConverter( $stdClass->startTime ); |
||
| 50 | $this->endTime = TimeConverter::dateTimeConverter( $stdClass->endTime ); |
||
| 51 | $this->clan = new WarDetailsClan( $stdClass->clan ); |
||
| 52 | $this->opponent = new WarDetailsClan( $stdClass->opponent ); |
||
| 53 | } |
||
| 54 | } |
||
| 55 | } |
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..