| @@ -41,8 +41,8 @@ | ||
| 41 | 41 | * @return InternalSkipTokenInfo | 
| 42 | 42 | */ | 
| 43 | 43 | public static function parseSkipTokenClause( | 
| 44 | - ResourceType &$resourceType, | |
| 45 | - InternalOrderByInfo &$internalOrderByInfo, | |
| 44 | + ResourceType & $resourceType, | |
| 45 | + InternalOrderByInfo & $internalOrderByInfo, | |
| 46 | 46 | $skipToken | 
| 47 | 47 |      ) { | 
| 48 | 48 | $tokenValueDescriptor = null; | 
| @@ -24,7 +24,7 @@ discard block | ||
| 24 | 24 | */ | 
| 25 | 25 | public static function queryProcessorNoQueryOptionsApplicable() | 
| 26 | 26 |      { | 
| 27 | - return 'Query options $select, $expand, $filter, $orderby, $inlinecount, $skip, $skiptoken and $top are not'. | |
| 27 | + return 'Query options $select, $expand, $filter, $orderby, $inlinecount, $skip, $skiptoken and $top are not' . | |
| 28 | 28 | ' supported by this request method or cannot be applied to the requested resource.'; | 
| 29 | 29 | } | 
| 30 | 30 | |
| @@ -108,7 +108,7 @@ discard block | ||
| 108 | 108 | */ | 
| 109 | 109 | public static function queryProcessorIncorrectArgumentFormat($argName, $argValue) | 
| 110 | 110 |      { | 
| 111 | - return 'Incorrect format for '.$argName.' argument \''.$argValue.'\''; | |
| 111 | + return 'Incorrect format for ' . $argName . ' argument \'' . $argValue . '\''; | |
| 112 | 112 | } | 
| 113 | 113 | |
| 114 | 114 | /** | 
| @@ -122,7 +122,7 @@ discard block | ||
| 122 | 122 | */ | 
| 123 | 123 | public static function queryProcessorSkipTokenCannotBeAppliedForNonPagedResourceSet($resourceSetName) | 
| 124 | 124 |      { | 
| 125 | - return '$skiptoken cannot be applied to the resource set \''.$resourceSetName | |
| 125 | + return '$skiptoken cannot be applied to the resource set \'' . $resourceSetName | |
| 126 | 126 | .'\', since paging is not enabled for this resource set'; | 
| 127 | 127 | } | 
| 128 | 128 | |
| @@ -137,6 +137,6 @@ discard block | ||
| 137 | 137 | */ | 
| 138 | 138 | public static function queryProcessorSelectOrExpandOptionNotApplicable($queryItem) | 
| 139 | 139 |      { | 
| 140 | - return 'Query option '.$queryItem.' cannot be applied to the requested resource'; | |
| 140 | + return 'Query option ' . $queryItem . ' cannot be applied to the requested resource'; | |
| 141 | 141 | } | 
| 142 | 142 | } | 
| @@ -87,7 +87,7 @@ | ||
| 87 | 87 | */ | 
| 88 | 88 | public static function streamProviderWrapperMustNotSetContentTypeAndEtag($methodName) | 
| 89 | 89 |      { | 
| 90 | - return 'The method '.$methodName.' must not set the HTTP response headers \'Content-Type\' and \'ETag\''; | |
| 90 | + return 'The method ' . $methodName . ' must not set the HTTP response headers \'Content-Type\' and \'ETag\''; | |
| 91 | 91 | } | 
| 92 | 92 | |
| 93 | 93 | /** | 
| @@ -30,7 +30,7 @@ discard block | ||
| 30 | 30 | * | 
| 31 | 31 | * @return ODataFeed | 
| 32 | 32 | */ | 
| 33 | - public function writeTopLevelElements(QueryResult &$entryObjects); | |
| 33 | + public function writeTopLevelElements(QueryResult & $entryObjects); | |
| 34 | 34 | |
| 35 | 35 | /** | 
| 36 | 36 | * Write top level url element. | 
| @@ -60,7 +60,7 @@ discard block | ||
| 60 | 60 | * | 
| 61 | 61 | * @return ODataPropertyContent | 
| 62 | 62 | */ | 
| 63 | - public function writeTopLevelComplexObject(QueryResult &$complexValue, $propertyName, ResourceType &$resourceType); | |
| 63 | + public function writeTopLevelComplexObject(QueryResult & $complexValue, $propertyName, ResourceType & $resourceType); | |
| 64 | 64 | |
| 65 | 65 | /** | 
| 66 | 66 | * Write top level bag resource. | 
| @@ -71,7 +71,7 @@ discard block | ||
| 71 | 71 | * @return ODataPropertyContent | 
| 72 | 72 | * @internal param QueryResult $BagValue Results property contains the bag object to be written | 
| 73 | 73 | */ | 
| 74 | - public function writeTopLevelBagObject(QueryResult &$bagValue, $propertyName, ResourceType &$resourceType); | |
| 74 | + public function writeTopLevelBagObject(QueryResult & $bagValue, $propertyName, ResourceType & $resourceType); | |
| 75 | 75 | |
| 76 | 76 | /** | 
| 77 | 77 | * Write top level primitive value. | 
| @@ -81,7 +81,7 @@ discard block | ||
| 81 | 81 | * | 
| 82 | 82 | * @return ODataPropertyContent | 
| 83 | 83 | */ | 
| 84 | - public function writeTopLevelPrimitive(QueryResult &$primitiveValue, ResourceProperty &$resourceProperty = null); | |
| 84 | + public function writeTopLevelPrimitive(QueryResult & $primitiveValue, ResourceProperty & $resourceProperty = null); | |
| 85 | 85 | |
| 86 | 86 | /** | 
| 87 | 87 | * Gets reference to the request submitted by client. | 
| @@ -92,7 +92,7 @@ | ||
| 92 | 92 | */ | 
| 93 | 93 | public static function httpProcessUtilityClosingQuoteNotFound($parameterName) | 
| 94 | 94 |      { | 
| 95 | - return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because the closing quote '. | |
| 95 | + return 'Value for MIME type parameter \'' . $parameterName . '\' is incorrect because the closing quote ' . | |
| 96 | 96 | 'character could not be found while the parameter value started with a quote character.'; | 
| 97 | 97 | } | 
| 98 | 98 | |
| @@ -21,7 +21,7 @@ | ||
| 21 | 21 | * @param bool $expanded Whether the navigation is expanded | 
| 22 | 22 | * or not | 
| 23 | 23 | */ | 
| 24 | - public function __construct(ResourceProperty &$resourceProperty, $expanded) | |
| 24 | + public function __construct(ResourceProperty & $resourceProperty, $expanded) | |
| 25 | 25 |      { | 
| 26 | 26 | $this->resourceProperty = $resourceProperty; | 
| 27 | 27 | $this->expanded = $expanded; | 
| @@ -36,7 +36,7 @@ | ||
| 36 | 36 | * @param array<array<IType>> $orderByValuesInSkipToken Collection of values in the skiptoken corresponds | 
| 37 | 37 | * to the orderby path segments | 
| 38 | 38 | */ | 
| 39 | - public function __construct(OrderByInfo &$orderByInfo, $orderByValuesInSkipToken) | |
| 39 | + public function __construct(OrderByInfo & $orderByInfo, $orderByValuesInSkipToken) | |
| 40 | 40 |      { | 
| 41 | 41 | $this->orderByInfo = $orderByInfo; | 
| 42 | 42 | $this->orderByValuesInSkipToken = $orderByValuesInSkipToken; | 
| @@ -666,7 +666,7 @@ discard block | ||
| 666 | 666 | * | 
| 667 | 667 | * @param InternalOrderByInfo &$internalOrderByInfo The sorting information | 
| 668 | 668 | */ | 
| 669 | - public function setInternalOrderByInfo(InternalOrderByInfo &$internalOrderByInfo) | |
| 669 | + public function setInternalOrderByInfo(InternalOrderByInfo & $internalOrderByInfo) | |
| 670 | 670 |      { | 
| 671 | 671 | $this->internalOrderByInfo = $internalOrderByInfo; | 
| 672 | 672 | } | 
| @@ -687,7 +687,7 @@ discard block | ||
| 687 | 687 | * @param InternalSkipTokenInfo &$internalSkipTokenInfo The paging information | 
| 688 | 688 | */ | 
| 689 | 689 | public function setInternalSkipTokenInfo( | 
| 690 | - InternalSkipTokenInfo &$internalSkipTokenInfo | |
| 690 | + InternalSkipTokenInfo & $internalSkipTokenInfo | |
| 691 | 691 |      ) { | 
| 692 | 692 | $this->internalSkipTokenInfo = $internalSkipTokenInfo; | 
| 693 | 693 | } | 
| @@ -713,7 +713,7 @@ discard block | ||
| 713 | 713 | * | 
| 714 | 714 | * @param RootProjectionNode &$rootProjectionNode Root of the projection tree | 
| 715 | 715 | */ | 
| 716 | - public function setRootProjectionNode(RootProjectionNode &$rootProjectionNode) | |
| 716 | + public function setRootProjectionNode(RootProjectionNode & $rootProjectionNode) | |
| 717 | 717 |      { | 
| 718 | 718 | $this->rootProjectionNode = $rootProjectionNode; | 
| 719 | 719 | } | 
| @@ -68,9 +68,9 @@ | ||
| 68 | 68 | * @param ResourceType &$resourceType Reference to the resource type pointed to by the request uri | 
| 69 | 69 | */ | 
| 70 | 70 | public function __construct( | 
| 71 | - InternalOrderByInfo &$internalOrderByInfo, | |
| 71 | + InternalOrderByInfo & $internalOrderByInfo, | |
| 72 | 72 | $orderByValuesInSkipToken, | 
| 73 | - ResourceType &$resourceType | |
| 73 | + ResourceType & $resourceType | |
| 74 | 74 |      ) { | 
| 75 | 75 | $this->internalOrderByInfo = $internalOrderByInfo; | 
| 76 | 76 | $this->orderByValuesInSkipToken = $orderByValuesInSkipToken; |