@@ -123,7 +123,7 @@ public function __construct(array $info, array $config)
123123 throw new Exception (sprintf (
124124 'Expected parameter \'%s \' for authentication source %s to be a string. '
125125 . 'Instead it was: %s ' ,
126- $ dbname ,
126+ $ param ,
127127 $ this ->authId ,
128128 var_export ($ config [$ param ], true ),
129129 ));
@@ -177,7 +177,7 @@ public function __construct(array $info, array $config)
177177 if (!is_array ($ authQueryConfig )) {
178178 throw new Exception (sprintf (
179179 'Each entry in the %s \'auth_queries \' parameter for authentication source '
180- . '\'%s \' is expected to be an array. Instead it was: %s ' .
180+ . '\'%s \' is expected to be an array. Instead it was: %s ' ,
181181 $ authQueryName ,
182182 $ this ->authId ,
183183 var_export ($ authQueryConfig , true ),
@@ -188,8 +188,8 @@ public function __construct(array $info, array $config)
188188 if (!array_key_exists ($ param , $ authQueryConfig )) {
189189 throw new Exception (sprintf (
190190 'Auth query %s is missing required attribute \'%s \' for authentication source \'%s \'' ,
191- $ param ,
192191 $ authQueryName ,
192+ $ param ,
193193 $ this ->authId ,
194194 ));
195195 }
@@ -279,7 +279,7 @@ public function __construct(array $info, array $config)
279279 if (!is_array ($ attrQueryConfig )) {
280280 throw new Exception (sprintf (
281281 '\'attr_queries \' parameter for authentication source \'%s \''
282- . ' is expected to be an array. Instead it was: %s ' .
282+ . ' is expected to be an array. Instead it was: %s ' ,
283283 $ this ->authId ,
284284 var_export ($ attrQueryConfig , true ),
285285 ));
0 commit comments