@@ -30,8 +30,12 @@ |
||
30 | 30 | */ |
31 | 31 | public function getStatus() |
32 | 32 | { |
33 | - if(isset($this->content['response']['status'])) return $this->content['response']['status']; |
|
34 | - if(isset($this->content['response']['propstat']['status'])) return $this->content['response']['propstat']['status']; |
|
33 | + if(isset($this->content['response']['status'])) { |
|
34 | + return $this->content['response']['status']; |
|
35 | + } |
|
36 | + if(isset($this->content['response']['propstat']['status'])) { |
|
37 | + return $this->content['response']['propstat']['status']; |
|
38 | + } |
|
35 | 39 | |
36 | 40 | return null; |
37 | 41 | } |