mirror of
https://github.com/itflow-org/itflow
synced 2026-09-21 22:21:15 +00:00
Allow PHP-8.2 and up Compatibility instead of just PHP-8.4
This commit is contained in:
@@ -247,12 +247,12 @@ abstract class Facade
|
||||
/**
|
||||
* Clear a resolved facade instance.
|
||||
*
|
||||
* @param string $name
|
||||
* @param ?string $name
|
||||
* @return void
|
||||
*/
|
||||
public static function clearResolvedInstance($name)
|
||||
public static function clearResolvedInstance($name = null)
|
||||
{
|
||||
unset(static::$resolvedInstance[$name]);
|
||||
unset(static::$resolvedInstance[$name ?? static::getFacadeAccessor()]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user