public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit03e973073eea0174c457e95793a7c992::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit03e973073eea0174c457e95793a7c992::$prefixDirsPsr4;
$loader->prefixesPsr0 = ComposerStaticInit03e973073eea0174c457e95793a7c992::$prefixesPsr0;
$loader->classMap = ComposerStaticInit03e973073eea0174c457e95793a7c992::$classMap;
}, null, ClassLoader::class);
}
several times i ran composer dump-autoload command then also the error remains same.
How to fix this error.
Thanks in Advance
What error? It is ok that your IDE does not understand what is going on here.
Those attributes are private, but because of the scope of the closure we can write to them. However, PHPStorm does not understand that.
Here is how you can exclude the faulty (not actually faulty) file from inspection.
Most helpful comment
Those attributes are private, but because of the scope of the closure we can write to them. However, PHPStorm does not understand that.