You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
write concise description of what the bug is.
Method returns undefined variable
To Reproduce
public function write($html_file, $save_to, $options)
{
$pdfwk = new Pdf($this->binaryPath);
$pdfwk->generateFromHtml(file_get_contents($html_file), $save_to);
return **$pdfFilePath;**
}
Expected behavior
The $pdfFilePath; should be defined from within the method or passed into the method. At least that is what I was thinking. PHPStan reports the same issue.
Client configuration
Browser:
OpenEMR version:
Operating system:
The text was updated successfully, but these errors were encountered:
Describe the bug
write concise description of what the bug is.
Method returns undefined variable
To Reproduce
Expected behavior
The $pdfFilePath; should be defined from within the method or passed into the method. At least that is what I was thinking. PHPStan reports the same issue.
Client configuration
The text was updated successfully, but these errors were encountered: