From 2f753c70e3dc5e958e9b391daf70b7ec9100db3e Mon Sep 17 00:00:00 2001 From: Tim van Dijen Date: Tue, 22 Oct 2019 21:39:35 +0200 Subject: [PATCH] Fix DocblockTypeContradiction --- src/SAML2/Compat/ContainerSingleton.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SAML2/Compat/ContainerSingleton.php b/src/SAML2/Compat/ContainerSingleton.php index 167fa8664..c9094aa41 100644 --- a/src/SAML2/Compat/ContainerSingleton.php +++ b/src/SAML2/Compat/ContainerSingleton.php @@ -19,7 +19,7 @@ class ContainerSingleton */ public static function getInstance() : AbstractContainer { - if (!self::$container) { + if (!isset(self::$container)) { self::$container = self::initSspContainer(); } return self::$container;