@@ -44,7 +44,7 @@  | 
                                                    ||
| 44 | 44 | /**  | 
                                                        
| 45 | 45 | * @param int $type  | 
                                                        
| 46 | 46 | *  | 
                                                        
| 47 | - * @return mixed  | 
                                                        |
| 47 | + * @return string|false  | 
                                                        |
| 48 | 48 | */  | 
                                                        
| 49 | 49 | private function getOperator($type)  | 
                                                        
| 50 | 50 |      { | 
                                                        
@@ -46,7 +46,7 @@  | 
                                                    ||
| 46 | 46 | }  | 
                                                        
| 47 | 47 | |
| 48 | 48 | /**  | 
                                                        
| 49 | - * @param ProxyQueryInterface|QueryBuilder $queryBuilder  | 
                                                        |
| 49 | + * @param ProxyQueryInterface $queryBuilder  | 
                                                        |
| 50 | 50 | * @param mixed $parameter  | 
                                                        
| 51 | 51 | */  | 
                                                        
| 52 | 52 | protected function applyWhere(ProxyQueryInterface $queryBuilder, $parameter)  | 
                                                        
@@ -42,7 +42,7 @@  | 
                                                    ||
| 42 | 42 | /**  | 
                                                        
| 43 | 43 | * @param string $type  | 
                                                        
| 44 | 44 | *  | 
                                                        
| 45 | - * @return bool  | 
                                                        |
| 45 | + * @return string|false  | 
                                                        |
| 46 | 46 | */  | 
                                                        
| 47 | 47 | private function getOperator($type)  | 
                                                        
| 48 | 48 |      { | 
                                                        
@@ -42,7 +42,7 @@  | 
                                                    ||
| 42 | 42 | /**  | 
                                                        
| 43 | 43 | * @param string $type  | 
                                                        
| 44 | 44 | *  | 
                                                        
| 45 | - * @return bool  | 
                                                        |
| 45 | + * @return string|false  | 
                                                        |
| 46 | 46 | */  | 
                                                        
| 47 | 47 | private function getOperator($type)  | 
                                                        
| 48 | 48 |      { | 
                                                        
@@ -618,7 +618,7 @@  | 
                                                    ||
| 618 | 618 | *  | 
                                                        
| 619 | 619 | * @param string $property  | 
                                                        
| 620 | 620 | *  | 
                                                        
| 621 | - * @return mixed  | 
                                                        |
| 621 | + * @return string  | 
                                                        |
| 622 | 622 | */  | 
                                                        
| 623 | 623 | protected function camelize($property)  | 
                                                        
| 624 | 624 |      { | 
                                                        
@@ -124,7 +124,7 @@ discard block  | 
                                                    ||
| 124 | 124 | }  | 
                                                        
| 125 | 125 | |
| 126 | 126 | /**  | 
                                                        
| 127 | - * @return array  | 
                                                        |
| 127 | + * @return string[]  | 
                                                        |
| 128 | 128 | */  | 
                                                        
| 129 | 129 | public function getAllAliases()  | 
                                                        
| 130 | 130 |      { | 
                                                        
@@ -132,7 +132,7 @@ discard block  | 
                                                    ||
| 132 | 132 | }  | 
                                                        
| 133 | 133 | |
| 134 | 134 | /**  | 
                                                        
| 135 | - * @return array  | 
                                                        |
| 135 | + * @return string[]  | 
                                                        |
| 136 | 136 | */  | 
                                                        
| 137 | 137 | public function getRootAliases()  | 
                                                        
| 138 | 138 |      { | 
                                                        
@@ -79,7 +79,7 @@ discard block  | 
                                                    ||
| 79 | 79 | * For the record, the $alias value is provided by the association method (and the entity join method)  | 
                                                        
| 80 | 80 | * so the field value is not used here.  | 
                                                        
| 81 | 81 | *  | 
                                                        
| 82 | - * @param ProxyQueryInterface|QueryBuilder $queryBuilder  | 
                                                        |
| 82 | + * @param ProxyQueryInterface $queryBuilder  | 
                                                        |
| 83 | 83 | * @param string $alias  | 
                                                        
| 84 | 84 | * @param mixed $data  | 
                                                        
| 85 | 85 | *  | 
                                                        
@@ -103,7 +103,7 @@ discard block  | 
                                                    ||
| 103 | 103 | }  | 
                                                        
| 104 | 104 | |
| 105 | 105 | /**  | 
                                                        
| 106 | - * @param ProxyQueryInterface|QueryBuilder $queryBuilder  | 
                                                        |
| 106 | + * @param ProxyQueryInterface $queryBuilder  | 
                                                        |
| 107 | 107 | * @param string $alias  | 
                                                        
| 108 | 108 | * @param mixed $data  | 
                                                        
| 109 | 109 | *  | 
                                                        
@@ -736,6 +736,9 @@  | 
                                                    ||
| 736 | 736 | $this->assertNull($model->getNormalizedIdentifier(null));  | 
                                                        
| 737 | 737 | }  | 
                                                        
| 738 | 738 | |
| 739 | + /**  | 
                                                        |
| 740 | + * @param string $class  | 
                                                        |
| 741 | + */  | 
                                                        |
| 739 | 742 | private function getMetadata($class, $isVersioned)  | 
                                                        
| 740 | 743 |      { | 
                                                        
| 741 | 744 | $metadata = new ClassMetadata($class);  | 
                                                        
@@ -25,7 +25,7 @@  | 
                                                    ||
| 25 | 25 | /**  | 
                                                        
| 26 | 26 | * @param array $options  | 
                                                        
| 27 | 27 | *  | 
                                                        
| 28 | - * @return \Sonata\AdminBundle\Admin\FieldDescriptionInterface  | 
                                                        |
| 28 | + * @return \PHPUnit\Framework\MockObject\MockObject  | 
                                                        |
| 29 | 29 | */  | 
                                                        
| 30 | 30 | public function getFieldDescription(array $options)  | 
                                                        
| 31 | 31 |      { |