Skip to content

Commit 4bce571

Browse files
vokustaabm
andauthored
ReflectionCache: fix error message (#233)
Co-authored-by: Markus Staab <[email protected]>
1 parent 70bdda6 commit 4bce571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryReflection/ReflectionCache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ private function __construct(string $cacheFile)
4949
$lockFile = sys_get_temp_dir().'/staabm-phpstan-dba-cache.lock';
5050
$lockHandle = fopen($lockFile, 'w+');
5151
if (false === $lockHandle) {
52-
throw new DbaException(sprintf('Could not open lock file "%s".', $this->cacheFile));
52+
throw new DbaException(sprintf('Could not open lock file "%s".', $lockFile));
5353
}
5454

5555
self::$lockHandle = $lockHandle;

0 commit comments

Comments
 (0)