Parse error: syntax error

04/10/2021 17:52 Beba Army#1
Pcms web error:

Code:
Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting end of file in C:\xampp\htdocs\pserverCMSFull\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php on line 38
Lines from 38-45
Code:
    public function exec($statement)
    {
        try {
            return parent::exec($statement);
        } catch (\PDOException $exception) {
            throw new PDOException($exception);
        }
    }
How to fix?

SOLVED: I forgot to restore PserverCMS.bak in SQL :D