Skip to content

Commit cb3c018

Browse files
author
Bl00D4NGEL
committed
fix: reset mocked instances on facade clear
1 parent 469e919 commit cb3c018

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Facade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public static function __callStatic(string $method, array $args): mixed
109109
public static function clear(): void
110110
{
111111
static::$resolvedInstances = [];
112+
static::$mockedInstances = [];
112113
static::$container = null;
113114
}
114115

0 commit comments

Comments
 (0)