@@ -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->isEntryOK($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( |
196 | 196 | null === $link->expandedResult || $link->expandedResult instanceof ODataEntry, |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | return; |
247 | 247 | } |
248 | 248 | |
249 | - protected function processLinkFeed(ODataLink &$link, ResourceSet $sourceSet, $source, $hasUrl, $hasPayload) |
|
249 | + protected function processLinkFeed(ODataLink & $link, ResourceSet $sourceSet, $source, $hasUrl, $hasPayload) |
|
250 | 250 | { |
251 | 251 | assert( |
252 | 252 | $link->expandedResult instanceof ODataFeed, |