Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/Auth/Source/SQL2.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function __construct(array $info, array $config)
throw new Exception(sprintf(
'Expected parameter \'%s\' for authentication source %s to be a string. '
. 'Instead it was: %s',
$dbname,
$param,
$this->authId,
var_export($config[$param], true),
));
Expand Down Expand Up @@ -177,7 +177,7 @@ public function __construct(array $info, array $config)
if (!is_array($authQueryConfig)) {
throw new Exception(sprintf(
'Each entry in the %s \'auth_queries\' parameter for authentication source '
. '\'%s\' is expected to be an array. Instead it was: %s' .
. '\'%s\' is expected to be an array. Instead it was: %s',
$authQueryName,
$this->authId,
var_export($authQueryConfig, true),
Expand All @@ -188,8 +188,8 @@ public function __construct(array $info, array $config)
if (!array_key_exists($param, $authQueryConfig)) {
throw new Exception(sprintf(
'Auth query %s is missing required attribute \'%s\' for authentication source \'%s\'',
$param,
$authQueryName,
$param,
$this->authId,
));
}
Expand Down Expand Up @@ -279,7 +279,7 @@ public function __construct(array $info, array $config)
if (!is_array($attrQueryConfig)) {
throw new Exception(sprintf(
'\'attr_queries\' parameter for authentication source \'%s\''
. ' is expected to be an array. Instead it was: %s' .
. ' is expected to be an array. Instead it was: %s',
$this->authId,
var_export($attrQueryConfig, true),
));
Expand Down
Loading