| @@ -2,13 +2,11 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace POData\Providers\Metadata; | 
| 4 | 4 | |
| 5 | -use AlgoWeb\ODataMetadata\IsOK; | |
| 6 | 5 | use AlgoWeb\ODataMetadata\MetadataManager; | 
| 7 | 6 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TComplexTypeType; | 
| 8 | 7 | use AlgoWeb\ODataMetadata\MetadataV3\edm\TEntityTypeType; | 
| 9 | 8 | use Illuminate\Support\Str; | 
| 10 | 9 | use POData\Common\InvalidOperationException; | 
| 11 | -use POData\Common\NotImplementedException; | |
| 12 | 10 | use POData\Providers\Metadata\Type\IType; | 
| 13 | 11 | use POData\Providers\Metadata\Type\TypeCode; | 
| 14 | 12 | |
| @@ -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]; |