private function db_load() { $this->repoid = (int) $this->repoid; $this->open = (int) $this->open; $this->opencheckat = (int) $this->opencheckat; if ($this->snapat !== null) { $this->snapat = (int) $this->snapat; } $this->snapcheckat = (int) $this->snapcheckat; $this->lastpset = (int) $this->lastpset; $this->working = (int) $this->working; $this->snapcommitat = (int) $this->snapcommitat; $this->analyzedsnapat = (int) $this->analyzedsnapat; if ($this->notes !== null) { $this->notes = json_decode($this->notes, true); } $this->reposite = RepositorySite::make($this->url, $this->conf); }