We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52396bf commit 93e179aCopy full SHA for 93e179a
1 file changed
tests/unit/ImageTransformTest.php
@@ -167,9 +167,9 @@ public function getFilename(bool $withExtension = true): string
167
return $this->filenameValue;
168
}
169
170
- public function getPath(): ?string
+ public function getPath(?string $filename = null): string
171
{
172
- return 'tests/' . $this->filenameValue;
+ return 'tests/' . ($filename ?? $this->filenameValue);
173
174
175
public function getMimeType(mixed $transform = null): ?string
0 commit comments