@@ -163,19 +163,20 @@ |
||
| 163 | 163 | break; |
| 164 | 164 | } |
| 165 | 165 | } |
| 166 | - private function handleODataLink(ODataLink $link ){ |
|
| 167 | - if($link->name === ODataConstants::ATOM_EDIT_RELATION_ATTRIBUTE_VALUE){ |
|
| 166 | + private function handleODataLink(ODataLink $link ) |
|
| 167 | + { |
|
| 168 | + if($link->name === ODataConstants::ATOM_EDIT_RELATION_ATTRIBUTE_VALUE) { |
|
| 168 | 169 | $this->oDataEntry->editLink = $link; |
| 169 | - }else{ |
|
| 170 | + } else { |
|
| 170 | 171 | $this->oDataEntry->links[] = $link; |
| 171 | 172 | } |
| 172 | 173 | } |
| 173 | 174 | private function handleODataMediaLink(ODataMediaLink $link) |
| 174 | 175 | { |
| 175 | - if($link->name === ODataConstants::ATOM_EDIT_MEDIA_RELATION_ATTRIBUTE_VALUE){ |
|
| 176 | + if($link->name === ODataConstants::ATOM_EDIT_MEDIA_RELATION_ATTRIBUTE_VALUE) { |
|
| 176 | 177 | $this->oDataEntry->mediaLink = $link; |
| 177 | 178 | $this->oDataEntry->isMediaLinkEntry = true; |
| 178 | - }else{ |
|
| 179 | + } else { |
|
| 179 | 180 | $this->oDataEntry->mediaLinks[] = $link; |
| 180 | 181 | } |
| 181 | 182 | } |