@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | /** |
| 22 | 22 | * @return string |
| 23 | 23 | */ |
| 24 | - public function getETag(){ |
|
| 24 | + public function getETag() { |
|
| 25 | 25 | return isset($this->found_props['getetag']) ? $this->found_props['getetag'] : null; |
| 26 | 26 | } |
| 27 | 27 | |
@@ -30,8 +30,8 @@ discard block |
||
| 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'])) return $this->content['response']['status']; |
|
| 34 | + if (isset($this->content['response']['propstat']['status'])) return $this->content['response']['propstat']['status']; |
|
| 35 | 35 | |
| 36 | 36 | return null; |
| 37 | 37 | } |
@@ -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 | } |