We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3335a6 commit acd38f5Copy full SHA for acd38f5
tests/Output/QROutputTestAbstract.php
@@ -17,7 +17,7 @@
17
use chillerlan\Settings\SettingsContainerInterface;
18
use PHPUnit\Framework\Attributes\DataProvider;
19
use PHPUnit\Framework\TestCase;
20
-use ReflectionClass;
+use ReflectionObject;
21
22
/**
23
* Test abstract for the several (built-in) output modules,
@@ -81,7 +81,7 @@ public function testRenderToCacheFile():void{
81
$this->options->outputBase64 = false;
82
$this->outputInterface = $this->getOutputInterface($this->options, $this->matrix);
83
// create the cache file
84
- $name = (new ReflectionClass($this->outputInterface))->getShortName();
+ $name = (new ReflectionObject($this->outputInterface))->getShortName();
85
$fileSubPath = $this::buildDir.'/test.output.'.$name;
86
$data = $this->outputInterface->dump($this->getBuildPath($fileSubPath));
87
0 commit comments