Doctrine\Common\Annotations\DocParser::syntaxError
Generates a new syntax error.
Signature
private function syntaxError(string
$expected,
[array
$token = null] )
Parameters
$expected
— string- Expected string.
$token
— array- Optional token.