@@ -86,8 +86,9 @@ |
||
86 | 86 | case 'data': |
87 | 87 | return $this->getData(); |
88 | 88 | case 'status_code': |
89 | - if($e===null) |
|
90 | - return 0; |
|
89 | + if($e===null) { |
|
90 | + return 0; |
|
91 | + } |
|
91 | 92 | return $this->getStatusCode($e); |
92 | 93 | default: |
93 | 94 | throw new Exception("{$key} is not supported! Therefore it cannot be collected!"); |