Syntax error, unexpected 'class' (T_CLASS) in CommonModelTableFactory

Welcome to the forums! :smiley:

In the chat you have written a different error message:

Parse error: syntax error, unexpected 'class' (T_CLASS) in
C:\xampp\htdocs\laminas\module\Application\src\Factory\CommonControllerFactory.php
on line 7

So the given class CommonModelTableFactory is not the problem.