Skip to content

Commit 6a0ff73

Browse files
committed
removed false positives
1 parent d61beb5 commit 6a0ff73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Bolt/SystemWideConnectionFactory.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ private function __construct($factory)
3535
$this->factory = $factory;
3636
}
3737

38+
/**
39+
* @psalm-suppress InvalidNullableReturnType
40+
*/
3841
public static function getInstance(): SystemWideConnectionFactory
3942
{
4043
if (self::$instance === null) {
@@ -46,6 +49,7 @@ public static function getInstance(): SystemWideConnectionFactory
4649
}
4750
}
4851

52+
/** @psalm-suppress NullableReturnStatement */
4953
return self::$instance;
5054
}
5155

0 commit comments

Comments
 (0)