@@ -281,14 +281,14 @@ |
||
281 | 281 | protected function writeNextPageLink(ODataLink $nextPageLinkUri = null) |
282 | 282 | { |
283 | 283 | |
284 | - // "__next" : uri |
|
285 | - if ($nextPageLinkUri != null) { |
|
286 | - $this->_writer |
|
287 | - ->writeName(ODataConstants::JSON_NEXT_STRING) |
|
288 | - ->writeValue($nextPageLinkUri->url); |
|
289 | - } |
|
290 | - |
|
291 | - return $this; |
|
284 | + // "__next" : uri |
|
285 | + if ($nextPageLinkUri != null) { |
|
286 | + $this->_writer |
|
287 | + ->writeName(ODataConstants::JSON_NEXT_STRING) |
|
288 | + ->writeValue($nextPageLinkUri->url); |
|
289 | + } |
|
290 | + |
|
291 | + return $this; |
|
292 | 292 | |
293 | 293 | } |
294 | 294 |
@@ -101,7 +101,7 @@ |
||
101 | 101 | */ |
102 | 102 | public function convertToOData($value) |
103 | 103 | { |
104 | - if ($value instanceof DateTimeInterface) return 'datetime\'' . urlencode($value->format(DateTimeInterface::ATOM)) . '\''; |
|
104 | + if ($value instanceof DateTimeInterface) return 'datetime\'' . urlencode($value->format(DateTimeInterface::ATOM)) . '\''; |
|
105 | 105 | return 'datetime\'' . urlencode($value) . '\''; |
106 | 106 | } |
107 | 107 |
@@ -33,7 +33,7 @@ |
||
33 | 33 | * or in case of any version incompatibility. |
34 | 34 | */ |
35 | 35 | public static function process(IService $service) |
36 | - { |
|
36 | + { |
|
37 | 37 | $host = $service->getHost(); |
38 | 38 | $fullAbsoluteRequestUri = $host->getFullAbsoluteRequestUri(); |
39 | 39 | $absoluteRequestUri = $host->getAbsoluteRequestUri(); |
@@ -357,5 +357,5 @@ |
||
357 | 357 | return $operator . self::OPEN_BRACKET . $child . self::CLOSE_BRACKET; |
358 | 358 | } |
359 | 359 | |
360 | - public function clear() {} |
|
360 | + public function clear() {} |
|
361 | 361 | } |
362 | 362 | \ No newline at end of file |
@@ -23,7 +23,7 @@ |
||
23 | 23 | */ |
24 | 24 | public function getIteratorName(); |
25 | 25 | |
26 | - public function clear(); |
|
26 | + public function clear(); |
|
27 | 27 | |
28 | 28 | /** |
29 | 29 | * call-back for setting the resource type. |
@@ -157,14 +157,14 @@ discard block |
||
157 | 157 | |
158 | 158 | public function getCustomProperties($entryObject); |
159 | 159 | |
160 | - public function postResource( |
|
160 | + public function postResource( |
|
161 | 161 | ResourceSet $resourceSet, |
162 | 162 | RequestDescription $request, |
163 | 163 | $data |
164 | 164 | ); |
165 | 165 | |
166 | - public function putResource( |
|
167 | - ResourceSet $resourceSet, |
|
166 | + public function putResource( |
|
167 | + ResourceSet $resourceSet, |
|
168 | 168 | RequestDescription $request, |
169 | 169 | KeyDescriptor $keyDescriptor, |
170 | 170 | $data, |
@@ -172,8 +172,8 @@ discard block |
||
172 | 172 | $expand |
173 | 173 | ); |
174 | 174 | |
175 | - public function deleteResource( |
|
176 | - ResourceSet $resourceSet, |
|
175 | + public function deleteResource( |
|
176 | + ResourceSet $resourceSet, |
|
177 | 177 | RequestDescription $request, |
178 | 178 | $keyDescriptor |
179 | 179 | ); |
@@ -32,7 +32,7 @@ |
||
32 | 32 | */ |
33 | 33 | private $tabString; |
34 | 34 | |
35 | - private $_writer; |
|
35 | + private $_writer; |
|
36 | 36 | |
37 | 37 | /** |
38 | 38 | * Creates a new instance of IndentedTextWriter |
@@ -357,5 +357,5 @@ |
||
357 | 357 | return $operator . self::OPEN_BRACKET . $child . self::CLOSE_BRACKET; |
358 | 358 | } |
359 | 359 | |
360 | - public function clear() {} |
|
360 | + public function clear() {} |
|
361 | 361 | } |
362 | 362 | \ No newline at end of file |
@@ -103,8 +103,8 @@ |
||
103 | 103 | Messages::orderByLeafNodeArgumentShouldBeNonEmptyArray() |
104 | 104 | ); |
105 | 105 | } |
106 | - $flag1 = ""; |
|
107 | - $flag2 = ""; |
|
106 | + $flag1 = ""; |
|
107 | + $flag2 = ""; |
|
108 | 108 | $parameterNames = null; |
109 | 109 | $accessor1 = null; |
110 | 110 | $accessor2 = null; |