@@ -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; |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | */ |
64 | 64 | private $_dummyObject; |
65 | 65 | |
66 | - private $_rootOrderByNode; |
|
66 | + private $_rootOrderByNode; |
|
67 | 67 | /** |
68 | 68 | * Creates new instance of OrderByParser |
69 | 69 | * |
@@ -78,8 +78,8 @@ discard block |
||
78 | 78 | |
79 | 79 | private static function _mock($instanceType) |
80 | 80 | { |
81 | - //The previous solution is nice, but causes problems, because we initialize classes that have not null properties as well |
|
82 | - $mock = []; |
|
81 | + //The previous solution is nice, but causes problems, because we initialize classes that have not null properties as well |
|
82 | + $mock = []; |
|
83 | 83 | foreach ($instanceType->getProperties() as $property) { |
84 | 84 | $mock[$property->name] = null; |
85 | 85 | } |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | $this->_queryOptionsCount = null; |
63 | 63 | $this->_headers = null; |
64 | 64 | $this->getHeaders(); |
65 | - $this->getQueryParameters(); |
|
65 | + $this->getQueryParameters(); |
|
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
@@ -137,10 +137,10 @@ discard block |
||
137 | 137 | |
138 | 138 | $this->_rawUrl .= "://" . $_SERVER[HttpProcessUtility::headerToServerKey(ODataConstants::HTTPREQUEST_HEADER_HOST)]; |
139 | 139 | $this->_rawUrl .= $_SERVER[ODataConstants::HTTPREQUEST_URI]; |
140 | - //It looks like it is not working, for example if there is an $inlinecount then it will double the parameter |
|
141 | - //if (!empty($_SERVER[ODataConstants::HTTPREQUEST_QUERY_STRING])) { |
|
142 | - // $this->_rawUrl .= "?" . $_SERVER[ODataConstants::HTTPREQUEST_QUERY_STRING]; |
|
143 | - //} |
|
140 | + //It looks like it is not working, for example if there is an $inlinecount then it will double the parameter |
|
141 | + //if (!empty($_SERVER[ODataConstants::HTTPREQUEST_QUERY_STRING])) { |
|
142 | + // $this->_rawUrl .= "?" . $_SERVER[ODataConstants::HTTPREQUEST_QUERY_STRING]; |
|
143 | + //} |
|
144 | 144 | } |
145 | 145 | |
146 | 146 | return $this->_rawUrl; |