@@ -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'; |