@@ -39,7 +39,9 @@ discard block |
||
| 39 | 39 | public function getUpdates(){ |
| 40 | 40 | $res = []; |
| 41 | 41 | foreach ($this->responses as $entity){ |
| 42 | - if($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpOKStatus) continue; |
|
| 42 | + if($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpOKStatus) { |
|
| 43 | + continue; |
|
| 44 | + } |
|
| 43 | 45 | $res[] = $entity; |
| 44 | 46 | } |
| 45 | 47 | return $res; |
@@ -51,7 +53,9 @@ discard block |
||
| 51 | 53 | public function getDeletes(){ |
| 52 | 54 | $res = []; |
| 53 | 55 | foreach ($this->responses as $entity){ |
| 54 | - if($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpNotFoundStatus) continue; |
|
| 56 | + if($entity instanceof ETagEntityResponse && $entity->getStatus() != HttpResponse::HttpNotFoundStatus) { |
|
| 57 | + continue; |
|
| 58 | + } |
|
| 55 | 59 | $res[] = $entity; |
| 56 | 60 | } |
| 57 | 61 | return $res; |