Symfony\Component\Debug\Exception\FatalThrowableError Type error: ReflectionFunction::__construct() expects parameter 1 to be string, array given code example

Example 1: Symfony\Component\Debug\Exception\FatalThrowableError Type error: ReflectionFunction::__construct() expects parameter 1 to be string, array given

ReflectionFunction::__construct() expects parameter 1 to be string, array given

Example 2: Symfony\Component\Debug\Exception\FatalThrowableError Type error: ReflectionFunction::__construct() expects parameter 1 to be string, array given

ReflectionFunction::__construct() expects parameter 1 to be string, array given

Example 3: Symfony\Component\Debug\Exception\FatalThrowableError Type error: ReflectionFunction::__construct() expects parameter 1 to be string, array given

ReflectionFunction::__construct() expects parameter 1 to be string, array given

Example 4: Symfony\Component\Debug\Exception\FatalThrowableError Type error: ReflectionFunction::__construct() expects parameter 1 to be string, array given

ReflectionFunction::__construct() expects parameter 1 to be string, array given