From 7463cd5804907f9e84d246b221d6eb1cb341ea06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20P=C3=A9rez=20Crespo?= <jaime.perez@uninett.no> Date: Tue, 24 Sep 2019 10:49:51 +0200 Subject: [PATCH] Remove superfluous annotation Also, `$instance` can actually be `null` internally. --- lib/SimpleSAML/Store.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/SimpleSAML/Store.php b/lib/SimpleSAML/Store.php index 869f9a6bf..50d5b3162 100644 --- a/lib/SimpleSAML/Store.php +++ b/lib/SimpleSAML/Store.php @@ -16,7 +16,7 @@ abstract class Store implements Utils\ClearableState * * This is false if the data store isn't enabled, and null if we haven't attempted to initialize it. * - * @var \SimpleSAML\Store|false + * @var \SimpleSAML\Store|false|null */ private static $instance; @@ -68,7 +68,6 @@ abstract class Store implements Utils\ClearableState self::$instance = new $className(); } - /** @var \SimpleSAML\Store|false */ return self::$instance; } -- GitLab