Parse error: syntax error, unexpected T_STRING in W:\CD-collection\app\presenters\DashboardPresenter.php on line 8 Parse Error

Parse Error

syntax error, unexpected T_STRING

Source file

File: W:\CD-collection\app\presenters\DashboardPresenter.php   Line: 8

Line  1:    <?php
Line  2:
Line  3:    use Nette\Application\AppForm,
Line  4:        Nette\Forms\Form;
Line  5:
Line  6:
Line  7:
Line  8:    clas DashboardPresenter extends BasePresenter
Line  9:    {
Line 10:
Line 11:        protected function startup()
Line 12:        {
Line 13:            // user authentication
Line 14:            if (!$this->user->isLoggedIn()) {
Line 15:                if ($this->user->logoutReason === Nette\Web\User::INACTIVITY) {

Nette Application

Environment

HTTP request

HTTP response