@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | $type = null; |
296 | 296 | if ($typeKind == ResourceTypeKind::ENTITY) { |
297 | 297 | list($oet, $entitySet) = $this->metadataManager->addEntityType($name); |
298 | - assert($oet instanceof TEntityTypeType, "Entity type ".$name. " not successfully added"); |
|
298 | + assert($oet instanceof TEntityTypeType, "Entity type " . $name . " not successfully added"); |
|
299 | 299 | $type = new ResourceEntityType($refClass, $oet, $this); |
300 | 300 | $typeName = $type->getFullName(); |
301 | 301 | $returnName = Str::plural($typeName); |
@@ -584,7 +584,7 @@ discard block |
||
584 | 584 | ); |
585 | 585 | } |
586 | 586 | if (!in_array($resourceMult, $allowedMult)) { |
587 | - throw new InvalidOperationException("Supplied multiplicity ".$resourceMult." not valid"); |
|
587 | + throw new InvalidOperationException("Supplied multiplicity " . $resourceMult . " not valid"); |
|
588 | 588 | } |
589 | 589 | |
590 | 590 | $resourcePropertyKind = ('*' == $resourceMult) |
@@ -852,12 +852,12 @@ discard block |
||
852 | 852 | throw new \InvalidArgumentException($msg); |
853 | 853 | } |
854 | 854 | if (array_key_exists($name, $this->resourceSets)) { |
855 | - $msg = "Resource set with same name, ". $name. ", exists"; |
|
855 | + $msg = "Resource set with same name, " . $name . ", exists"; |
|
856 | 856 | throw new \InvalidArgumentException($msg); |
857 | 857 | } |
858 | 858 | $typeName = $returnType->getName(); |
859 | 859 | if (!array_key_exists($typeName, $this->OdataEntityMap)) { |
860 | - $msg = "Mapping not defined for ".$typeName; |
|
860 | + $msg = "Mapping not defined for " . $typeName; |
|
861 | 861 | throw new \InvalidArgumentException($msg); |
862 | 862 | } |
863 | 863 | $metaReturn = $this->OdataEntityMap[$typeName]; |