@@ -60,6 +60,7 @@ discard block  | 
                                                    ||
| 60 | 60 | |
| 61 | 61 | /**  | 
                                                        
| 62 | 62 | * NEXT_MAJOR: Make $propertyAccessor mandatory.  | 
                                                        
| 63 | + * @param \Symfony\Component\PropertyAccess\PropertyAccessor $propertyAccessor  | 
                                                        |
| 63 | 64 | */  | 
                                                        
| 64 | 65 | public function __construct(ManagerRegistry $registry, ?PropertyAccessorInterface $propertyAccessor = null)  | 
                                                        
| 65 | 66 |      { | 
                                                        
@@ -661,7 +662,7 @@ discard block  | 
                                                    ||
| 661 | 662 | *  | 
                                                        
| 662 | 663 | * @param string $property  | 
                                                        
| 663 | 664 | *  | 
                                                        
| 664 | - * @return mixed  | 
                                                        |
| 665 | + * @return string  | 
                                                        |
| 665 | 666 | */  | 
                                                        
| 666 | 667 | protected function camelize($property)  | 
                                                        
| 667 | 668 |      { | 
                                                        
@@ -944,6 +944,9 @@  | 
                                                    ||
| 944 | 944 | $this->assertNull($this->modelManager->getNormalizedIdentifier(null));  | 
                                                        
| 945 | 945 | }  | 
                                                        
| 946 | 946 | |
| 947 | + /**  | 
                                                        |
| 948 | + * @param string $class  | 
                                                        |
| 949 | + */  | 
                                                        |
| 947 | 950 | private function getMetadata($class, $isVersioned)  | 
                                                        
| 948 | 951 |      { | 
                                                        
| 949 | 952 | $metadata = new ClassMetadata($class);  | 
                                                        
@@ -59,7 +59,6 @@  | 
                                                    ||
| 59 | 59 | use Sonata\DoctrineORMAdminBundle\Tests\Fixtures\Entity\UuidEntity;  | 
                                                        
| 60 | 60 | use Sonata\DoctrineORMAdminBundle\Tests\Fixtures\Entity\VersionedEntity;  | 
                                                        
| 61 | 61 | use Sonata\DoctrineORMAdminBundle\Tests\Fixtures\Util\NonIntegerIdentifierTestClass;  | 
                                                        
| 62 | -use Symfony\Bridge\Doctrine\RegistryInterface;  | 
                                                        |
| 63 | 62 | use Symfony\Component\PropertyAccess\PropertyAccess;  | 
                                                        
| 64 | 63 | |
| 65 | 64 | class ModelManagerTest extends TestCase  |