Conditions | 4 |
Paths | 5 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 20 |
Changes | 0 |
1 | <?php |
||
73 | public function __construct(\stdClass $oData = null) |
||
74 | { |
||
75 | parent::__construct($oData); |
||
76 | if ($oData) { |
||
77 | $this->osoba_id = $this->convertToId($this->osoba_id); |
||
78 | $this->krs_id = $this->convertToId($this->krs_id); |
||
79 | $this->id = $this->convertToId($this->id); |
||
80 | $this->udzialy_wartosc_jedn = null === $this->udzialy_wartosc_jedn ? null : (float)$this->udzialy_wartosc_jedn; |
||
81 | $this->udzialy_wartosc = null === $this->udzialy_wartosc ? null : (float)$this->udzialy_wartosc; |
||
82 | } |
||
83 | } |
||
84 | } |
||
85 |