| 
                                                        @@ -278,7 +278,7 @@  discard block  | 
                                                    
                                                    
                                                         | 
                                                         | 
                                                         block discarded – undo  | 
                                                    
                                                                                                                                                                                                                    
                                                            | 
                                                                                                                                    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  | 
                                                    
                                                    
                                                         | 
                                                         | 
                                                         block discarded – undo  | 
                                                    
                                                                                                                                                                                                                    
                                                            | 
                                                                                                                                    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) | 
                                                        
                                                                                                                                                
                                         
                                        
                                            
                                                                                                    Please login to merge, or discard this patch.