@@ -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 | } |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | $type = null; |
281 | 281 | if ($typeKind == ResourceTypeKind::ENTITY) { |
282 | 282 | list($oet, $entitySet) = $this->metadataManager->addEntityType($name); |
283 | - assert($oet instanceof TEntityTypeType, "Entity type ".$name. " not successfully added"); |
|
283 | + assert($oet instanceof TEntityTypeType, "Entity type " . $name . " not successfully added"); |
|
284 | 284 | $type = new ResourceEntityType($refClass, $oet, $this); |
285 | 285 | $typeName = $type->getFullName(); |
286 | 286 | $returnName = Str::plural($typeName); |
@@ -569,7 +569,7 @@ discard block |
||
569 | 569 | ); |
570 | 570 | } |
571 | 571 | if (!in_array($resourceMult, $allowedMult)) { |
572 | - throw new InvalidOperationException("Supplied multiplicity ".$resourceMult." not valid"); |
|
572 | + throw new InvalidOperationException("Supplied multiplicity " . $resourceMult . " not valid"); |
|
573 | 573 | } |
574 | 574 | |
575 | 575 | $resourcePropertyKind = ('*' == $resourceMult) |
@@ -838,7 +838,7 @@ discard block |
||
838 | 838 | } |
839 | 839 | $typeName = $returnType->getName(); |
840 | 840 | if (!array_key_exists($typeName, $this->OdataEntityMap)) { |
841 | - $msg = "Mapping not defined for ".$typeName; |
|
841 | + $msg = "Mapping not defined for " . $typeName; |
|
842 | 842 | throw new \InvalidArgumentException($msg); |
843 | 843 | } |
844 | 844 | $metaReturn = $this->OdataEntityMap[$typeName]; |