@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | $type = null; |
| 279 | 279 | if ($typeKind == ResourceTypeKind::ENTITY) { |
| 280 | 280 | list($oet, $entitySet) = $this->metadataManager->addEntityType($name); |
| 281 | - assert($oet instanceof TEntityTypeType, "Entity type ".$name. " not successfully added"); |
|
| 281 | + assert($oet instanceof TEntityTypeType, "Entity type " . $name . " not successfully added"); |
|
| 282 | 282 | $type = new ResourceEntityType($refClass, $oet, $this); |
| 283 | 283 | $typeName = $type->getFullName(); |
| 284 | 284 | $returnName = Str::plural($typeName); |
@@ -567,7 +567,7 @@ discard block |
||
| 567 | 567 | ); |
| 568 | 568 | } |
| 569 | 569 | if (!in_array($resourceMult, $allowedMult)) { |
| 570 | - throw new InvalidOperationException("Supplied multiplicity ".$resourceMult." not valid"); |
|
| 570 | + throw new InvalidOperationException("Supplied multiplicity " . $resourceMult . " not valid"); |
|
| 571 | 571 | } |
| 572 | 572 | |
| 573 | 573 | $resourcePropertyKind = ('*' == $resourceMult) |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | $expectedParms = count($baseParms); |
| 124 | 124 | $actualParms = count($parms); |
| 125 | 125 | if ($expectedParms != $actualParms) { |
| 126 | - $msg = "Was expecting ". $expectedParms. " arguments, received ".$actualParms." instead"; |
|
| 126 | + $msg = "Was expecting " . $expectedParms . " arguments, received " . $actualParms . " instead"; |
|
| 127 | 127 | throw new \InvalidArgumentException($msg); |
| 128 | 128 | } |
| 129 | 129 | |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | private function checkBlacklist($func, $fromArray = false) |
| 138 | 138 | { |
| 139 | 139 | if (in_array($func, $this->blacklist) || in_array(strtolower($func), $this->blacklist)) { |
| 140 | - $msg = (true === $fromArray ? "First element of " : "")."FunctionName blacklisted"; |
|
| 140 | + $msg = (true === $fromArray ? "First element of " : "") . "FunctionName blacklisted"; |
|
| 141 | 141 | throw new \InvalidArgumentException($msg); |
| 142 | 142 | } |
| 143 | 143 | } |