You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!($streamFactoryinstanceof StreamFactory) && !($streamFactoryinstanceof StreamFactoryInterface)) {
76
+
thrownew \TypeError(\sprintf('Argument 2 passed to %s::__construct() must be of type %s|%s, %s given.', self::class, StreamFactory::class, StreamFactoryInterface::class, gettype($streamFactory)));
77
+
}
78
+
74
79
$this->pool = $pool;
75
80
$this->streamFactory = $streamFactory;
76
81
@@ -91,13 +96,13 @@ public function __construct(CacheItemPoolInterface $pool, StreamFactory $streamF
91
96
* This method will setup the cachePlugin in client cache mode. When using the client cache mode the plugin will
92
97
* cache responses with `private` cache directive.
93
98
*
94
-
* @param CacheItemPoolInterface $pool
95
-
* @param StreamFactory $streamFactory
96
-
* @param array $config For all possible config options see the constructor docs
0 commit comments