@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | $targClass = $resourceType->getInstanceType()->getName(); |
| 131 | 131 | if (!($res instanceof $targClass)) { |
| 132 | 132 | $msg = 'Object being serialised not instance of expected class, ' |
| 133 | - . $targClass . ', is actually ' . $payloadClass; |
|
| 133 | + . $targClass . ', is actually ' . $payloadClass; |
|
| 134 | 134 | throw new InvalidOperationException($msg); |
| 135 | 135 | } |
| 136 | 136 | |
@@ -574,7 +574,7 @@ discard block |
||
| 574 | 574 | if (!(ResourcePropertyKind::RESOURCESET_REFERENCE() == $propKind |
| 575 | 575 | || ResourcePropertyKind::RESOURCE_REFERENCE() == $propKind)) { |
| 576 | 576 | $msg = '$propKind != ResourcePropertyKind::RESOURCESET_REFERENCE &&' |
| 577 | - . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE'; |
|
| 577 | + . ' $propKind != ResourcePropertyKind::RESOURCE_REFERENCE'; |
|
| 578 | 578 | throw new InvalidOperationException($msg); |
| 579 | 579 | } |
| 580 | 580 | $propTail = ResourcePropertyKind::RESOURCE_REFERENCE() == $propKind ? 'entry' : 'feed'; |
@@ -223,7 +223,7 @@ discard block |
||
| 223 | 223 | $relativeUri = $this->getRequest()->getIdentifier(); |
| 224 | 224 | $absoluteUri = $this->getRequest()->getRequestUrl()->getUrlAsString(); |
| 225 | 225 | |
| 226 | - $selfLink = new ODataLink(); |
|
| 226 | + $selfLink = new ODataLink(); |
|
| 227 | 227 | $selfLink->setName('self'); |
| 228 | 228 | $selfLink->setTitle($relativeUri); |
| 229 | 229 | $selfLink->setUrl($relativeUri); |
@@ -599,7 +599,7 @@ discard block |
||
| 599 | 599 | if ($shouldExpand) { |
| 600 | 600 | $this->expandNavigationProperty($entryObject, $prop, $nuLink, $propKind, $propName); |
| 601 | 601 | } |
| 602 | - $links[] = $nuLink; |
|
| 602 | + $links[] = $nuLink; |
|
| 603 | 603 | } |
| 604 | 604 | return $links; |
| 605 | 605 | } |