Skip to content

Commit acd38f5

Browse files
committed
🚿
1 parent e3335a6 commit acd38f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Output/QROutputTestAbstract.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use chillerlan\Settings\SettingsContainerInterface;
1818
use PHPUnit\Framework\Attributes\DataProvider;
1919
use PHPUnit\Framework\TestCase;
20-
use ReflectionClass;
20+
use ReflectionObject;
2121

2222
/**
2323
* Test abstract for the several (built-in) output modules,
@@ -81,7 +81,7 @@ public function testRenderToCacheFile():void{
8181
$this->options->outputBase64 = false;
8282
$this->outputInterface = $this->getOutputInterface($this->options, $this->matrix);
8383
// create the cache file
84-
$name = (new ReflectionClass($this->outputInterface))->getShortName();
84+
$name = (new ReflectionObject($this->outputInterface))->getShortName();
8585
$fileSubPath = $this::buildDir.'/test.output.'.$name;
8686
$data = $this->outputInterface->dump($this->getBuildPath($fileSubPath));
8787

0 commit comments

Comments
 (0)