public function findLastQuestionOrder($sectionName = null) { $value = $this->questionDao->findLastQuestionOrder($sectionName); if ($value === null) { $value = 0; } return $value; }