| Conditions | 4 |
| Paths | 5 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 20 |
| Changes | 0 | ||
| 1 | <?php |
||
| 66 | public function __construct(\stdClass $oData = null) |
||
| 67 | { |
||
| 68 | parent::__construct($oData); |
||
| 69 | if ($oData) { |
||
| 70 | $this->osoba_id = $this->convertToId($this->osoba_id); |
||
| 71 | $this->krs_id = $this->convertToId($this->krs_id); |
||
| 72 | $this->id = $this->convertToId($this->id); |
||
| 73 | $this->udzialy_wartosc_jedn = is_null($this->udzialy_wartosc_jedn) ? null : floatval($this->udzialy_wartosc_jedn); |
||
| 74 | $this->udzialy_wartosc = is_null($this->udzialy_wartosc) ? null : floatval($this->udzialy_wartosc); |
||
| 75 | } |
||
| 76 | } |
||
| 77 | } |
||
| 78 |