How to find an syntax error?

I am creating a theme from a html template. I follow the structure of the antimatter theme. I got a syntax error if i switch the theme. I try to figure out which file cause an syntax error. But this log doesnt tell me much.

Any clues how i can help myself?

[2017-06-15 20:05:52] grav.CRITICAL: syntax error, unexpected ‘-’, expecting ‘{’ - Trace: #0 /Users/npetri/Documents/np webdesign/projekte/bn-tech/localhost/system/src/Grav/Common/Themes.php (61): Grav\Common\Themes->load() #1 /Users/npetri/Documents/np webdesign/projekte/bn-tech/localhost/user/plugins/admin/classes/themes .php(17): Grav\Common\Themes->initTheme() #2 /Users/npetri/Documents/np webdesign/projekte/bn-tech/localhost/system/src/Grav/Common/Processors /ThemesProcessor.php(18): Grav\Plugin\Admin\Themes->init() #3 /Users/npetri/Documents/np webdesign/projekte/bn-tech/localhost/system/src/Grav/Common/Grav.php(1 26): Grav\Common\Processors\ThemesProcessor->process() #4 /Users/npetri/Documents/np webdesign/projekte/bn-tech/localhost/system/src/Grav/Common/Grav.php(3 68): Grav\Common\Grav->Grav\Common{closure} () #5 [internal function]: Grav\Common\Grav::Grav\Common{closure}(‘themes’, ‘Themes’, Object(Closure)) #6 /Users/npetri/Documents/np webdesign/projekte/bn-tech/localhost/system/src/Grav/Common/Grav.php(3 44): call_user_func_array(Object(Closure), Array) #7 /Users/npetri/Documents/np webdesign/projekte/bn-tech/localhost/system/src/Grav/Common/Grav.php(1 27): Grav\Common\Grav->__call(‘measureTime’, Array) #8 /Users/npetri/Documents/np webdesign/projekte/bn-tech/localhost/index.php(52): Grav\Common\Grav->process() #9 {main} [] []

Thx in advance!

I just figure it out. A ‘-’ in the php class name of the theme class was responsible for that error.