@@ -96,6 +96,6 @@ |
||
| 96 | 96 | return $this->node->addChild('cas:authenticationSuccess'); |
| 97 | 97 | } |
| 98 | 98 | |
| 99 | - return $authNodes[0]; |
|
| 99 | + return $authNodes[ 0 ]; |
|
| 100 | 100 | } |
| 101 | 101 | } |
@@ -17,11 +17,11 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function __construct() |
| 19 | 19 | { |
| 20 | - $this->data = ['serviceResponse' => ['proxySuccess' => []]]; |
|
| 20 | + $this->data = [ 'serviceResponse' => [ 'proxySuccess' => [ ] ] ]; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | public function setProxyTicket($ticket) |
| 24 | 24 | { |
| 25 | - $this->data['serviceResponse']['proxySuccess']['proxyTicket'] = $ticket; |
|
| 25 | + $this->data[ 'serviceResponse' ][ 'proxySuccess' ][ 'proxyTicket' ] = $ticket; |
|
| 26 | 26 | } |
| 27 | 27 | } |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | */ |
| 18 | 18 | public function __construct() |
| 19 | 19 | { |
| 20 | - $this->data = ['serviceResponse' => ['proxyFailure' => []]]; |
|
| 20 | + $this->data = [ 'serviceResponse' => [ 'proxyFailure' => [ ] ] ]; |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -27,8 +27,8 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function setFailure($code, $description) |
| 29 | 29 | { |
| 30 | - $this->data['serviceResponse']['proxyFailure']['code'] = $code; |
|
| 31 | - $this->data['serviceResponse']['proxyFailure']['description'] = $description; |
|
| 30 | + $this->data[ 'serviceResponse' ][ 'proxyFailure' ][ 'code' ] = $code; |
|
| 31 | + $this->data[ 'serviceResponse' ][ 'proxyFailure' ][ 'description' ] = $description; |
|
| 32 | 32 | |
| 33 | 33 | return $this; |
| 34 | 34 | } |