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 d61beb5 commit 6a0ff73Copy full SHA for 6a0ff73
src/Bolt/SystemWideConnectionFactory.php
@@ -35,6 +35,9 @@ private function __construct($factory)
35
$this->factory = $factory;
36
}
37
38
+ /**
39
+ * @psalm-suppress InvalidNullableReturnType
40
+ */
41
public static function getInstance(): SystemWideConnectionFactory
42
{
43
if (self::$instance === null) {
@@ -46,6 +49,7 @@ public static function getInstance(): SystemWideConnectionFactory
46
49
47
50
48
51
52
+ /** @psalm-suppress NullableReturnStatement */
53
return self::$instance;
54
55
0 commit comments