We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3a4caa commit 42b288fCopy full SHA for 42b288f
src/Builder/Generator.php
@@ -74,8 +74,8 @@ public function setTemplateDirs(array $templateDirs): void
74
*/
75
public function __destruct()
76
{
77
- if ($this->tempDir && is_dir($this->tempDir) && $this->autoRemoveTempDir) {
78
- $this->removeDir($this->tempDir);
+ if ($this->getTempDir() && is_dir($this->getTempDir()) && $this->autoRemoveTempDir) {
+ $this->removeDir($this->getTempDir());
79
}
80
81
0 commit comments