2323use Ibexa \Contracts \Core \Test \Repository \SetupFactory \Legacy ;
2424use Ibexa \Tests \Core \Repository \Common ;
2525use Ibexa \Tests \Solr \SetupFactory \LegacySetupFactory as LegacySolrSetupFactory ;
26+ use ReflectionProperty ;
2627use RuntimeException ;
2728
2829/**
@@ -4774,14 +4775,14 @@ protected function assertQueryFixture(
47744775 foreach ([$ fixture , $ result ] as $ set ) {
47754776 $ setClass = get_class ($ set );
47764777 self ::assertIsString ($ setClass );
4777- $ property = new \ ReflectionProperty ($ setClass , 'maxScore ' );
4778+ $ property = new ReflectionProperty ($ setClass , 'maxScore ' );
47784779 $ property ->setAccessible (true );
47794780 $ property ->setValue ($ set , 0.0 );
47804781
47814782 foreach ($ set ->searchHits as $ hit ) {
47824783 $ hitClass = get_class ($ hit );
47834784 self ::assertIsString ($ hitClass );
4784- $ property = new \ ReflectionProperty ($ hitClass , 'score ' );
4785+ $ property = new ReflectionProperty ($ hitClass , 'score ' );
47854786 $ property ->setAccessible (true );
47864787 $ property ->setValue ($ hit , 0.0 );
47874788 }
@@ -4792,11 +4793,11 @@ protected function assertQueryFixture(
47924793 foreach ($ set ->searchHits as $ hit ) {
47934794 $ hitClass = get_class ($ hit );
47944795 self ::assertIsString ($ hitClass );
4795- $ property = new \ ReflectionProperty ($ hitClass , 'index ' );
4796+ $ property = new ReflectionProperty ($ hitClass , 'index ' );
47964797 $ property ->setAccessible (true );
47974798 $ property ->setValue ($ hit , null );
47984799
4799- $ property = new \ ReflectionProperty ($ hitClass , 'matchedTranslation ' );
4800+ $ property = new ReflectionProperty ($ hitClass , 'matchedTranslation ' );
48004801 $ property ->setAccessible (true );
48014802 $ property ->setValue ($ hit , null );
48024803
0 commit comments