From d76807f6e7ed3c74c5d3f842ed1321e7bf2b6ff8 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Sat, 2 Jun 2018 14:21:26 +0200 Subject: [PATCH] Change constructor visibility Makes no sense to use a protected constructor here.. In fact, it restricts is from unit-testing this class --- lib/SimpleSAML/Store/SQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/SimpleSAML/Store/SQL.php b/lib/SimpleSAML/Store/SQL.php index adfa6b56e..c4f2e2c4e 100644 --- a/lib/SimpleSAML/Store/SQL.php +++ b/lib/SimpleSAML/Store/SQL.php @@ -48,7 +48,7 @@ class SQL extends Store /** * Initialize the SQL data store. */ - protected function __construct() + public function __construct() { $config = Configuration::getInstance(); -- GitLab