[TOOLS] Continue raising PHPStan level to 6
This commit is contained in:
@@ -52,11 +52,11 @@ use Symfony\Component\DependencyInjection\Reference;
|
||||
|
||||
class ModuleManager
|
||||
{
|
||||
protected static $loader;
|
||||
protected static \Composer\Autoload\ClassLoader $loader;
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
*/
|
||||
public static function setLoader($l)
|
||||
public static function setLoader(\Composer\Autoload\ClassLoader $l)
|
||||
{
|
||||
self::$loader = $l;
|
||||
}
|
||||
@@ -161,7 +161,7 @@ class ModuleManager
|
||||
/**
|
||||
* Serialize this class, for dumping into the cache
|
||||
*/
|
||||
public static function __set_state($state)
|
||||
public static function __set_state(array $state): self
|
||||
{
|
||||
$obj = new self();
|
||||
$obj->modules = $state['modules'];
|
||||
|
Reference in New Issue
Block a user