Closed ks465 closed 5 years ago
Better return a notice:
public function getParentTitle(): string { if (empty($this->parent)) { return 'شناخته نشد!'; } return $this->parent->{$this->parent->getTitleField()}; }
Done
Better return a notice: