We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da17740 commit 2073f41Copy full SHA for 2073f41
src/Responses/XmlAuthenticationSuccessResponse.php
@@ -49,8 +49,8 @@ public function setAttributes($attributes)
49
$this->removeByXPath($authNode, 'cas:attributes');
50
$attributesNode = $authNode->addChild('cas:attributes');
51
foreach ($attributes as $key => $value) {
52
- $value_arr = (array) $value;
53
- foreach($value_arr as $v){
+ $valueArr = (array) $value;
+ foreach($valueArr as $v){
54
$str = $this->stringify($v);
55
if (is_string($str)) {
56
$attributesNode->addChild('cas:'.$key, $str);
0 commit comments