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 438da49 commit 2a6e14dCopy full SHA for 2a6e14d
src/Lib/DocumentResolver.php
@@ -23,12 +23,12 @@
23
/**
24
* @internal
25
*/
26
-final class DocumentResolver
+final class DocumentResolver implements DocumentResolverInterface
27
{
28
29
* @throws Exception
30
31
- public function getInstance(string $adapter = null): Adapter
+ public function getInstance(string $adapter = null): ?Adapter
32
33
Document::getInstance($adapter);
34
}
src/Lib/DocumentResolverInterface.php
@@ -24,7 +24,7 @@ interface DocumentResolverInterface
- public function getInstance(string $adapter = null): Adapter;
+ public function getInstance(string $adapter = null): ?Adapter;
public function isAvailable(): bool;
0 commit comments