@@ -116,7 +116,7 @@ |
||
| 116 | 116 | |
| 117 | 117 | foreach ($this->request->all() as $key => $value) { |
| 118 | 118 | $keyBitz = explode(';', strval($key)); |
| 119 | - $newKey = strtolower($keyBitz[count($keyBitz) - 1]); |
|
| 119 | + $newKey = strtolower($keyBitz[count($keyBitz)-1]); |
|
| 120 | 120 | $this->queryOptions[] = [$newKey => $value]; |
| 121 | 121 | if (!array_key_exists($key, $this->queryOptionsCount)) { |
| 122 | 122 | $this->queryOptionsCount[$newKey] = 0; |
@@ -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'; |