Этот коммит содержится в:
2019-11-11 01:58:17 +03:00
родитель a54744ffb9
Коммит e2ac280221
26 изменённых файлов: 732 добавлений и 16 удалений

Просмотреть файл

@@ -6,8 +6,8 @@ use MyApp\Core\View;
class DefaultView extends View
{
public function index()
public function index(): string
{
$this->setTitle('Index')->render('default/index');
return $this->setTitle('Index')->render('default/index');
}
}