@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | * @param RequestDescription $request Description of the request submitted by client. |
| 66 | 66 | * @param IService $service Reference to the service implementation. |
| 67 | 67 | */ |
| 68 | - private function __construct(RequestDescription $request, IService $service ) { |
|
| 68 | + private function __construct(RequestDescription $request, IService $service) { |
|
| 69 | 69 | $this->request = $request; |
| 70 | 70 | $this->service = $service; |
| 71 | 71 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * |
| 103 | 103 | * @throws ODataException |
| 104 | 104 | */ |
| 105 | - public static function process(RequestDescription $request, IService $service ) { |
|
| 105 | + public static function process(RequestDescription $request, IService $service) { |
|
| 106 | 106 | $queryProcessor = new QueryProcessor($request, $service); |
| 107 | 107 | if ($request->getTargetSource() == TargetSource::NONE) { |
| 108 | 108 | //A service directory, metadata or batch request |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | private function _processSkipAndTop() |
| 149 | 149 | { |
| 150 | 150 | $value = null; |
| 151 | - if ($this->_readSkipOrTopOption( ODataConstants::HTTPQUERY_STRING_SKIP, $value ) ) { |
|
| 151 | + if ($this->_readSkipOrTopOption(ODataConstants::HTTPQUERY_STRING_SKIP, $value)) { |
|
| 152 | 152 | $this->request->setSkipCount($value); |
| 153 | 153 | } |
| 154 | 154 | |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | ->getResourceSetPageSize(); |
| 161 | 161 | } |
| 162 | 162 | |
| 163 | - if ($this->_readSkipOrTopOption(ODataConstants::HTTPQUERY_STRING_TOP, $value) ) { |
|
| 163 | + if ($this->_readSkipOrTopOption(ODataConstants::HTTPQUERY_STRING_TOP, $value)) { |
|
| 164 | 164 | $this->request->setTopOptionCount($value); |
| 165 | 165 | if ($isPagingRequired && $pageSize < $value) { |
| 166 | 166 | //If $top is greater than or equal to page size, |
@@ -196,7 +196,7 @@ discard block |
||
| 196 | 196 | */ |
| 197 | 197 | private function _processOrderBy() |
| 198 | 198 | { |
| 199 | - $orderBy = $this->service->getHost()->getQueryStringItem( ODataConstants::HTTPQUERY_STRING_ORDERBY ); |
|
| 199 | + $orderBy = $this->service->getHost()->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_ORDERBY); |
|
| 200 | 200 | |
| 201 | 201 | if (!is_null($orderBy)) { |
| 202 | 202 | $this->_checkSetQueryApplicable(); |
@@ -217,12 +217,12 @@ discard block |
||
| 217 | 217 | * RequestDescription::getTopCount will give non-null value. |
| 218 | 218 | * |
| 219 | 219 | */ |
| 220 | - if (!is_null($this->request->getSkipCount())|| !is_null($this->request->getTopCount())) { |
|
| 221 | - $orderBy = !is_null($orderBy) ? $orderBy . ', ' : null; |
|
| 220 | + if (!is_null($this->request->getSkipCount()) || !is_null($this->request->getTopCount())) { |
|
| 221 | + $orderBy = !is_null($orderBy) ? $orderBy.', ' : null; |
|
| 222 | 222 | $keys = array_keys($targetResourceType->getKeyProperties()); |
| 223 | 223 | //assert(!empty($keys)) |
| 224 | 224 | foreach ($keys as $key) { |
| 225 | - $orderBy = $orderBy . $key . ', '; |
|
| 225 | + $orderBy = $orderBy.$key.', '; |
|
| 226 | 226 | } |
| 227 | 227 | |
| 228 | 228 | $orderBy = rtrim($orderBy, ', '); |
@@ -260,7 +260,7 @@ discard block |
||
| 260 | 260 | */ |
| 261 | 261 | private function _processFilter() |
| 262 | 262 | { |
| 263 | - $filter = $this->service->getHost()->getQueryStringItem( ODataConstants::HTTPQUERY_STRING_FILTER ); |
|
| 263 | + $filter = $this->service->getHost()->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_FILTER); |
|
| 264 | 264 | if (is_null($filter)) { |
| 265 | 265 | return; |
| 266 | 266 | } |
@@ -268,7 +268,7 @@ discard block |
||
| 268 | 268 | $kind = $this->request->getTargetKind(); |
| 269 | 269 | if (!($kind == TargetKind::RESOURCE() |
| 270 | 270 | || $kind == TargetKind::COMPLEX_OBJECT() |
| 271 | - || $this->request->queryType == QueryType::COUNT() ) |
|
| 271 | + || $this->request->queryType == QueryType::COUNT()) |
|
| 272 | 272 | ) { |
| 273 | 273 | throw ODataException::createBadRequestError( |
| 274 | 274 | Messages::queryProcessorQueryFilterOptionNotApplicable() |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | $resourceType = $this->request->getTargetResourceType(); |
| 278 | 278 | $expressionProvider = $this->service->getProvidersWrapper()->getExpressionProvider(); |
| 279 | 279 | $filterInfo = ExpressionParser2::parseExpression2($filter, $resourceType, $expressionProvider); |
| 280 | - $this->request->setFilterInfo( $filterInfo ); |
|
| 280 | + $this->request->setFilterInfo($filterInfo); |
|
| 281 | 281 | |
| 282 | 282 | } |
| 283 | 283 | |
@@ -294,10 +294,10 @@ discard block |
||
| 294 | 294 | */ |
| 295 | 295 | private function _processCount() |
| 296 | 296 | { |
| 297 | - $inlineCount = $this->service->getHost()->getQueryStringItem( ODataConstants::HTTPQUERY_STRING_INLINECOUNT ); |
|
| 297 | + $inlineCount = $this->service->getHost()->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_INLINECOUNT); |
|
| 298 | 298 | |
| 299 | 299 | //If it's not specified, we're done |
| 300 | - if(is_null($inlineCount)) return; |
|
| 300 | + if (is_null($inlineCount)) return; |
|
| 301 | 301 | |
| 302 | 302 | //If the service doesn't allow count requests..then throw an exception |
| 303 | 303 | if (!$this->service->getConfiguration()->getAcceptCountRequests()) { |
@@ -315,7 +315,7 @@ discard block |
||
| 315 | 315 | |
| 316 | 316 | //You can't specify $count & $inlinecount together |
| 317 | 317 | //TODO: ensure there's a test for this case see #55 |
| 318 | - if ($this->request->queryType == QueryType::COUNT() ) { |
|
| 318 | + if ($this->request->queryType == QueryType::COUNT()) { |
|
| 319 | 319 | throw ODataException::createBadRequestError( |
| 320 | 320 | Messages::queryProcessorInlineCountWithValueCount() |
| 321 | 321 | ); |
@@ -327,8 +327,8 @@ discard block |
||
| 327 | 327 | if ($inlineCount === ODataConstants::URI_ROWCOUNT_ALLOPTION) { |
| 328 | 328 | $this->request->queryType = QueryType::ENTITIES_WITH_COUNT(); |
| 329 | 329 | |
| 330 | - $this->request->raiseMinVersionRequirement( 2, 0 ); |
|
| 331 | - $this->request->raiseResponseVersion( 2, 0 ); |
|
| 330 | + $this->request->raiseMinVersionRequirement(2, 0); |
|
| 331 | + $this->request->raiseResponseVersion(2, 0); |
|
| 332 | 332 | |
| 333 | 333 | } else { |
| 334 | 334 | throw ODataException::createBadRequestError( |
@@ -355,7 +355,7 @@ discard block |
||
| 355 | 355 | */ |
| 356 | 356 | private function _processSkipToken() |
| 357 | 357 | { |
| 358 | - $skipToken = $this->service->getHost()->getQueryStringItem( ODataConstants::HTTPQUERY_STRING_SKIPTOKEN ); |
|
| 358 | + $skipToken = $this->service->getHost()->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_SKIPTOKEN); |
|
| 359 | 359 | if (is_null($skipToken)) { |
| 360 | 360 | return; |
| 361 | 361 | } |
@@ -383,8 +383,8 @@ discard block |
||
| 383 | 383 | $skipToken |
| 384 | 384 | ); |
| 385 | 385 | $this->request->setInternalSkipTokenInfo($internalSkipTokenInfo); |
| 386 | - $this->request->raiseMinVersionRequirement( 2, 0 ); |
|
| 387 | - $this->request->raiseResponseVersion( 2, 0 ); |
|
| 386 | + $this->request->raiseMinVersionRequirement(2, 0); |
|
| 387 | + $this->request->raiseResponseVersion(2, 0); |
|
| 388 | 388 | |
| 389 | 389 | |
| 390 | 390 | } |
@@ -402,26 +402,26 @@ discard block |
||
| 402 | 402 | */ |
| 403 | 403 | private function _processExpandAndSelect() |
| 404 | 404 | { |
| 405 | - $expand = $this->service->getHost()->getQueryStringItem( ODataConstants::HTTPQUERY_STRING_EXPAND ); |
|
| 405 | + $expand = $this->service->getHost()->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_EXPAND); |
|
| 406 | 406 | |
| 407 | 407 | if (!is_null($expand)) { |
| 408 | - $this->_checkExpandOrSelectApplicable(ODataConstants::HTTPQUERY_STRING_EXPAND ); |
|
| 408 | + $this->_checkExpandOrSelectApplicable(ODataConstants::HTTPQUERY_STRING_EXPAND); |
|
| 409 | 409 | } |
| 410 | 410 | |
| 411 | - $select = $this->service->getHost()->getQueryStringItem( ODataConstants::HTTPQUERY_STRING_SELECT ); |
|
| 411 | + $select = $this->service->getHost()->getQueryStringItem(ODataConstants::HTTPQUERY_STRING_SELECT); |
|
| 412 | 412 | |
| 413 | 413 | if (!is_null($select)) { |
| 414 | 414 | if (!$this->service->getConfiguration()->getAcceptProjectionRequests()) { |
| 415 | - throw ODataException::createBadRequestError( Messages::configurationProjectionsNotAccepted() ); |
|
| 415 | + throw ODataException::createBadRequestError(Messages::configurationProjectionsNotAccepted()); |
|
| 416 | 416 | } |
| 417 | 417 | |
| 418 | - $this->_checkExpandOrSelectApplicable( ODataConstants::HTTPQUERY_STRING_SELECT ); |
|
| 418 | + $this->_checkExpandOrSelectApplicable(ODataConstants::HTTPQUERY_STRING_SELECT); |
|
| 419 | 419 | } |
| 420 | 420 | |
| 421 | 421 | // We will generate RootProjectionNode in case of $link request also, but |
| 422 | 422 | // expand and select in this case must be null (we are ensuring this above) |
| 423 | 423 | // 'RootProjectionNode' is required while generating next page Link |
| 424 | - if ($this->_expandSelectApplicable || $this->request->isLinkUri() ) { |
|
| 424 | + if ($this->_expandSelectApplicable || $this->request->isLinkUri()) { |
|
| 425 | 425 | |
| 426 | 426 | $rootProjectionNode = ExpandProjectionParser::parseExpandAndSelectClause( |
| 427 | 427 | $this->request->getTargetResourceSetWrapper(), |
@@ -434,13 +434,13 @@ discard block |
||
| 434 | 434 | $this->service->getProvidersWrapper() |
| 435 | 435 | ); |
| 436 | 436 | if ($rootProjectionNode->isSelectionSpecified()) { |
| 437 | - $this->request->raiseMinVersionRequirement(2, 0 ); |
|
| 437 | + $this->request->raiseMinVersionRequirement(2, 0); |
|
| 438 | 438 | } |
| 439 | 439 | |
| 440 | 440 | if ($rootProjectionNode->hasPagedExpandedResult()) { |
| 441 | - $this->request->raiseResponseVersion( 2, 0 ); |
|
| 441 | + $this->request->raiseResponseVersion(2, 0); |
|
| 442 | 442 | } |
| 443 | - $this->request->setRootProjectionNode($rootProjectionNode ); |
|
| 443 | + $this->request->setRootProjectionNode($rootProjectionNode); |
|
| 444 | 444 | |
| 445 | 445 | } |
| 446 | 446 | } |
@@ -72,8 +72,8 @@ discard block |
||
| 72 | 72 | * orderby path segments. |
| 73 | 73 | * @param ResourceType &$resourceType Reference to the type of the resource pointed by the request uri. |
| 74 | 74 | */ |
| 75 | - public function __construct(InternalOrderByInfo &$internalOrderByInfo, |
|
| 76 | - $orderByValuesInSkipToken, ResourceType &$resourceType |
|
| 75 | + public function __construct(InternalOrderByInfo & $internalOrderByInfo, |
|
| 76 | + $orderByValuesInSkipToken, ResourceType & $resourceType |
|
| 77 | 77 | ) { |
| 78 | 78 | $this->_internalOrderByInfo = $internalOrderByInfo; |
| 79 | 79 | $this->_orderByValuesInSkipToken = $orderByValuesInSkipToken; |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | } else if ($isLastSegment) { |
| 283 | 283 | $type = $subPathSegment->getInstanceType(); |
| 284 | 284 | $value = $type->convertToOData($currentObject); |
| 285 | - $nextPageLink .= $value . ', '; |
|
| 285 | + $nextPageLink .= $value.', '; |
|
| 286 | 286 | } |
| 287 | 287 | } catch (\ReflectionException $reflectionException) { |
| 288 | 288 | throw ODataException::createInternalServerError( |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | * @param array(int,(array(string,IType))) $orderByValuesInSkipToken Collection of values in the skiptoken corrosponds |
| 41 | 41 | * to the orderby path segments. |
| 42 | 42 | */ |
| 43 | - public function __construct(OrderByInfo &$orderByInfo, $orderByValuesInSkipToken) |
|
| 43 | + public function __construct(OrderByInfo & $orderByInfo, $orderByValuesInSkipToken) |
|
| 44 | 44 | { |
| 45 | 45 | $this->_orderByInfo = $orderByInfo; |
| 46 | 46 | $this->_orderByValuesInSkipToken = $orderByValuesInSkipToken; |
@@ -44,8 +44,8 @@ |
||
| 44 | 44 | * @throws ODataException |
| 45 | 45 | */ |
| 46 | 46 | public static function parseSkipTokenClause( |
| 47 | - ResourceType &$resourceType, |
|
| 48 | - InternalOrderByInfo &$internalOrderByInfo, |
|
| 47 | + ResourceType & $resourceType, |
|
| 48 | + InternalOrderByInfo & $internalOrderByInfo, |
|
| 49 | 49 | $skipToken |
| 50 | 50 | ) { |
| 51 | 51 | $tokenValueDescriptor = null; |
@@ -245,8 +245,8 @@ discard block |
||
| 245 | 245 | $this->requestMaxVersion = is_null($maxRequestVersion) ? $this->requestVersion : self::parseVersionHeader($maxRequestVersion, ODataConstants::ODATAMAXVERSIONHEADER); |
| 246 | 246 | |
| 247 | 247 | //if it's OData v3..things change a bit |
| 248 | - if($this->maxServiceVersion == Version::v3()){ |
|
| 249 | - if(is_null($maxRequestVersion)) |
|
| 248 | + if ($this->maxServiceVersion == Version::v3()) { |
|
| 249 | + if (is_null($maxRequestVersion)) |
|
| 250 | 250 | { |
| 251 | 251 | //if max request version isn't specified we use the service max version instead of the request version |
| 252 | 252 | //thus we favour newer versions |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | * @throws ODataException If capability negotiation fails. |
| 283 | 283 | */ |
| 284 | 284 | public function raiseMinVersionRequirement($major, $minor) { |
| 285 | - if($this->requiredMinRequestVersion->raiseVersion($major, $minor)) |
|
| 285 | + if ($this->requiredMinRequestVersion->raiseVersion($major, $minor)) |
|
| 286 | 286 | { |
| 287 | 287 | $this->validateVersions(); |
| 288 | 288 | } |
@@ -298,7 +298,7 @@ discard block |
||
| 298 | 298 | * @throws ODataException If capability negotiation fails. |
| 299 | 299 | */ |
| 300 | 300 | public function raiseResponseVersion($major, $minor) { |
| 301 | - if($this->requiredMinResponseVersion->raiseVersion($major, $minor)){ |
|
| 301 | + if ($this->requiredMinResponseVersion->raiseVersion($major, $minor)) { |
|
| 302 | 302 | $this->validateVersions(); |
| 303 | 303 | } |
| 304 | 304 | |
@@ -623,7 +623,7 @@ discard block |
||
| 623 | 623 | * |
| 624 | 624 | * @return void |
| 625 | 625 | */ |
| 626 | - public function setInternalOrderByInfo(InternalOrderByInfo &$internalOrderByInfo) |
|
| 626 | + public function setInternalOrderByInfo(InternalOrderByInfo & $internalOrderByInfo) |
|
| 627 | 627 | { |
| 628 | 628 | $this->internalOrderByInfo = $internalOrderByInfo; |
| 629 | 629 | } |
@@ -647,7 +647,7 @@ discard block |
||
| 647 | 647 | * @return void |
| 648 | 648 | */ |
| 649 | 649 | public function setInternalSkipTokenInfo( |
| 650 | - InternalSkipTokenInfo &$internalSkipTokenInfo |
|
| 650 | + InternalSkipTokenInfo & $internalSkipTokenInfo |
|
| 651 | 651 | ) { |
| 652 | 652 | $this->_internalSkipTokenInfo = $internalSkipTokenInfo; |
| 653 | 653 | } |
@@ -679,9 +679,9 @@ discard block |
||
| 679 | 679 | * |
| 680 | 680 | * @return void |
| 681 | 681 | */ |
| 682 | - public function setRootProjectionNode(RootProjectionNode &$rootProjectionNode) |
|
| 682 | + public function setRootProjectionNode(RootProjectionNode & $rootProjectionNode) |
|
| 683 | 683 | { |
| 684 | - $this->_rootProjectionNode = $rootProjectionNode; |
|
| 684 | + $this->_rootProjectionNode = $rootProjectionNode; |
|
| 685 | 685 | } |
| 686 | 686 | |
| 687 | 687 | /** |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | ); |
| 56 | 56 | $kind = $request->getTargetKind(); |
| 57 | 57 | |
| 58 | - if ($kind == TargetKind::METADATA() || $kind == TargetKind::BATCH() || $kind == TargetKind::SERVICE_DIRECTORY()){ |
|
| 58 | + if ($kind == TargetKind::METADATA() || $kind == TargetKind::BATCH() || $kind == TargetKind::SERVICE_DIRECTORY()) { |
|
| 59 | 59 | return $request; |
| 60 | 60 | } |
| 61 | 61 | |
@@ -80,11 +80,11 @@ discard block |
||
| 80 | 80 | // use of $count requires request DataServiceVersion |
| 81 | 81 | // and MaxDataServiceVersion greater than or equal to 2.0 |
| 82 | 82 | |
| 83 | - $request->raiseResponseVersion( 2, 0); |
|
| 84 | - $request->raiseMinVersionRequirement(2, 0 ); |
|
| 83 | + $request->raiseResponseVersion(2, 0); |
|
| 84 | + $request->raiseMinVersionRequirement(2, 0); |
|
| 85 | 85 | |
| 86 | 86 | } else if ($request->isNamedStream()) { |
| 87 | - $request->raiseMinVersionRequirement(3, 0 ); |
|
| 87 | + $request->raiseMinVersionRequirement(3, 0); |
|
| 88 | 88 | } else if ($request->getTargetKind() == TargetKind::RESOURCE()) { |
| 89 | 89 | if (!$request->isLinkUri()) { |
| 90 | 90 | $resourceSetWrapper = $request->getTargetResourceSetWrapper(); |
@@ -94,12 +94,12 @@ discard block |
||
| 94 | 94 | $hasBagProperty = $resourceSetWrapper->hasBagProperty($service->getProvidersWrapper()); |
| 95 | 95 | |
| 96 | 96 | if ($hasNamedStream || $hasBagProperty) { |
| 97 | - $request->raiseResponseVersion( 3, 0 ); |
|
| 97 | + $request->raiseResponseVersion(3, 0); |
|
| 98 | 98 | } |
| 99 | 99 | } |
| 100 | 100 | } else if ($request->getTargetKind() == TargetKind::BAG() |
| 101 | 101 | ) { |
| 102 | - $request->raiseResponseVersion( 3, 0 ); |
|
| 102 | + $request->raiseResponseVersion(3, 0); |
|
| 103 | 103 | } |
| 104 | 104 | |
| 105 | 105 | |
@@ -271,7 +271,7 @@ |
||
| 271 | 271 | if (!array_key_exists($keyName, $this->_namedValues)) { |
| 272 | 272 | $keysAsString = null; |
| 273 | 273 | foreach (array_keys($keyProperties) as $key) { |
| 274 | - $keysAsString .= $key . ', '; |
|
| 274 | + $keysAsString .= $key.', '; |
|
| 275 | 275 | } |
| 276 | 276 | |
| 277 | 277 | $keysAsString = rtrim($keysAsString, ' ,'); |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | * @param ProvidersWrapper $providerWrapper Reference to metadata and query provider wrapper |
| 52 | 52 | * |
| 53 | 53 | */ |
| 54 | - private function __construct(ProvidersWrapper $providerWrapper ) { |
|
| 54 | + private function __construct(ProvidersWrapper $providerWrapper) { |
|
| 55 | 55 | $this->providerWrapper = $providerWrapper; |
| 56 | 56 | } |
| 57 | 57 | |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | } |
| 143 | 143 | } |
| 144 | 144 | |
| 145 | - private function createNextSegment(SegmentDescriptor $previous, $segment, $checkRights){ |
|
| 145 | + private function createNextSegment(SegmentDescriptor $previous, $segment, $checkRights) { |
|
| 146 | 146 | $previousKind = $previous->getTargetKind(); |
| 147 | 147 | if ($previousKind == TargetKind::METADATA() |
| 148 | 148 | || $previousKind == TargetKind::BATCH() |
@@ -263,7 +263,7 @@ discard block |
||
| 263 | 263 | ); |
| 264 | 264 | } |
| 265 | 265 | |
| 266 | - switch($projectedProperty->getKind()) { |
|
| 266 | + switch ($projectedProperty->getKind()) { |
|
| 267 | 267 | case ResourcePropertyKind::COMPLEX_TYPE: |
| 268 | 268 | $current->setTargetKind(TargetKind::COMPLEX_OBJECT()); |
| 269 | 269 | break; |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | if ($hasPredicate) { |
| 298 | 298 | $this->_assertion(!$current->isSingleResult()); |
| 299 | 299 | $keyDescriptor = $this->_createKeyDescriptor( |
| 300 | - $identifier . '(' . $keyPredicate . ')', |
|
| 300 | + $identifier.'('.$keyPredicate.')', |
|
| 301 | 301 | $projectedProperty->getResourceType(), |
| 302 | 302 | $keyPredicate |
| 303 | 303 | ); |
@@ -307,7 +307,7 @@ discard block |
||
| 307 | 307 | } |
| 308 | 308 | } |
| 309 | 309 | |
| 310 | - if ($checkRights&& !is_null($current->getTargetResourceSetWrapper())) { |
|
| 310 | + if ($checkRights && !is_null($current->getTargetResourceSetWrapper())) { |
|
| 311 | 311 | $current->getTargetResourceSetWrapper() |
| 312 | 312 | ->checkResourceSetRightsForRead( |
| 313 | 313 | $current->isSingleResult() |
@@ -373,7 +373,7 @@ discard block |
||
| 373 | 373 | $descriptor->setTargetKind(TargetKind::RESOURCE()); |
| 374 | 374 | if ($keyPredicate !== null) { |
| 375 | 375 | $keyDescriptor = $this->_createKeyDescriptor( |
| 376 | - $segmentIdentifier . '(' . $keyPredicate . ')', |
|
| 376 | + $segmentIdentifier.'('.$keyPredicate.')', |
|
| 377 | 377 | $resourceSetWrapper->getResourceType(), |
| 378 | 378 | $keyPredicate |
| 379 | 379 | ); |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | * e.g. http://localhost/myservice.svc/Customers('ALFKI')/CustomerName/$value |
| 59 | 59 | * http://localhost/myservice.svc/Customers/$count |
| 60 | 60 | */ |
| 61 | - const PRIMITIVE_VALUE= 6; |
|
| 61 | + const PRIMITIVE_VALUE = 6; |
|
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | 64 | * System metadata. |