@@ -38,7 +38,7 @@ |
||
| 38 | 38 | */ |
| 39 | 39 | public function getLeft() |
| 40 | 40 | { |
| 41 | - return isset($this->left) ? $this->left: null; |
|
| 41 | + return isset($this->left) ? $this->left : null; |
|
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
@@ -203,7 +203,7 @@ |
||
| 203 | 203 | */ |
| 204 | 204 | public static function tryParseKeysFromKeyPredicate( |
| 205 | 205 | $keyPredicate, |
| 206 | - KeyDescriptor &$keyDescriptor = null |
|
| 206 | + KeyDescriptor & $keyDescriptor = null |
|
| 207 | 207 | ) { |
| 208 | 208 | return self::_tryParseKeysFromKeyPredicate( |
| 209 | 209 | $keyPredicate, |
@@ -570,7 +570,8 @@ |
||
| 570 | 570 | ); |
| 571 | 571 | $this->writeProperties($content); |
| 572 | 572 | $this->xmlWriter->endElement(); |
| 573 | - } else { //probably just a primitive string |
|
| 573 | + } else { |
|
| 574 | +//probably just a primitive string |
|
| 574 | 575 | $this->xmlWriter->startElementNs( |
| 575 | 576 | ODataConstants::ODATA_NAMESPACE_PREFIX, |
| 576 | 577 | ODataConstants::COLLECTION_ELEMENT_NAME, |
@@ -28,7 +28,8 @@ |
||
| 28 | 28 | throw new UrlFormatException(Messages::urlMalformedUrl($url)); |
| 29 | 29 | } |
| 30 | 30 | } else { |
| 31 | - if (!preg_match(self::REL_URL_REGEXP, $url)) { //TODO: this matches EVERYTHING!!! what's the intent here? see #77 |
|
| 31 | + if (!preg_match(self::REL_URL_REGEXP, $url)) { |
|
| 32 | +//TODO: this matches EVERYTHING!!! what's the intent here? see #77 |
|
| 32 | 33 | throw new UrlFormatException(Messages::urlMalformedUrl($url)); |
| 33 | 34 | } |
| 34 | 35 | } |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | */ |
| 72 | 72 | public static function noDataForThisVerb($verb) |
| 73 | 73 | { |
| 74 | - return "Method $verb expecting some data, but received empty data."; |
|
| 74 | + return "method $verb expecting some data, but received empty data."; |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /** |
@@ -397,7 +397,7 @@ |
||
| 397 | 397 | //TODO: why are these null? see #98 |
| 398 | 398 | null, // $orderby |
| 399 | 399 | null, // $top |
| 400 | - null, // $skip |
|
| 400 | + null, // $skip |
|
| 401 | 401 | $skipToken |
| 402 | 402 | ); |
| 403 | 403 | |