We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bce7161 commit 0d04817Copy full SHA for 0d04817
src/Support/Fields.php
@@ -25,9 +25,9 @@ final class Fields
25
*/
26
private WeakMap $cache;
27
28
- private function __construct()
+ private function __construct(WeakMap $cache = new WeakMap)
29
{
30
- $this->cache = new WeakMap();
+ $this->cache = $cache;
31
}
32
33
/**
src/Support/Includes.php
@@ -24,9 +24,9 @@ final class Includes
24
0 commit comments