protected function adjustPublicationDate() { if (!empty($this->arrItems) && $this->arrItems[0]->published > $this->published) { $this->published = $this->arrItems[0]->published; } }