Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
phy25 authored and leo108 committed Apr 3, 2018
1 parent da17740 commit 2073f41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Responses/XmlAuthenticationSuccessResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public function setAttributes($attributes)
$this->removeByXPath($authNode, 'cas:attributes');
$attributesNode = $authNode->addChild('cas:attributes');
foreach ($attributes as $key => $value) {
$value_arr = (array) $value;
foreach($value_arr as $v){
$valueArr = (array) $value;
foreach($valueArr as $v){
$str = $this->stringify($v);
if (is_string($str)) {
$attributesNode->addChild('cas:'.$key, $str);
Expand Down

0 comments on commit 2073f41

Please sign in to comment.