@@ -221,7 +221,7 @@ |
||
| 221 | 221 | * @param \POData\ObjectModel\ODataMediaLink $mediaLink |
| 222 | 222 | * @param \POData\ObjectModel\ODataMediaLink|null $editLink |
| 223 | 223 | */ |
| 224 | - private function handleMediaLinkEntry(ODataMediaLink $mediaLink, ODataMediaLink &$editLink = null) |
|
| 224 | + private function handleMediaLinkEntry(ODataMediaLink $mediaLink, ODataMediaLink & $editLink = null) |
|
| 225 | 225 | { |
| 226 | 226 | if ('edit-media' == $mediaLink->rel) { |
| 227 | 227 | $this->isMediaLinkEntry = true; |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | /** |
| 38 | 38 | * @param ODataEntry $payload |
| 39 | 39 | */ |
| 40 | - public function processPayload(ODataEntry &$payload) |
|
| 40 | + public function processPayload(ODataEntry & $payload) |
|
| 41 | 41 | { |
| 42 | 42 | assert($this->checkEntryOK($payload)); |
| 43 | 43 | list($sourceSet, $source) = $this->processEntryContent($payload); |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | return true; |
| 89 | 89 | } |
| 90 | 90 | |
| 91 | - protected function processEntryContent(ODataEntry &$content) |
|
| 91 | + protected function processEntryContent(ODataEntry & $content) |
|
| 92 | 92 | { |
| 93 | 93 | assert(null === $content->id || is_string($content->id), 'Entry id must be null or string'); |
| 94 | 94 | |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | return $keyDesc; |
| 159 | 159 | } |
| 160 | 160 | |
| 161 | - protected function processLink(ODataLink &$link, ResourceSet $sourceSet, $source) |
|
| 161 | + protected function processLink(ODataLink & $link, ResourceSet $sourceSet, $source) |
|
| 162 | 162 | { |
| 163 | 163 | $hasUrl = isset($link->url); |
| 164 | 164 | $hasPayload = isset($link->expandedResult); |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | * @param $hasUrl |
| 191 | 191 | * @param $hasPayload |
| 192 | 192 | */ |
| 193 | - protected function processLinkSingleton(ODataLink &$link, ResourceSet $sourceSet, $source, $hasUrl, $hasPayload) |
|
| 193 | + protected function processLinkSingleton(ODataLink & $link, ResourceSet $sourceSet, $source, $hasUrl, $hasPayload) |
|
| 194 | 194 | { |
| 195 | 195 | assert($link->expandedResult instanceof ODataEntry); |
| 196 | 196 | if ($hasUrl) { |
@@ -240,7 +240,7 @@ discard block |
||
| 240 | 240 | return; |
| 241 | 241 | } |
| 242 | 242 | |
| 243 | - protected function processLinkFeed(ODataLink &$link, ResourceSet $sourceSet, $source, $hasUrl, $hasPayload) |
|
| 243 | + protected function processLinkFeed(ODataLink & $link, ResourceSet $sourceSet, $source, $hasUrl, $hasPayload) |
|
| 244 | 244 | { |
| 245 | 245 | assert( |
| 246 | 246 | $link->expandedResult instanceof ODataFeed, |