Skip to content

Commit

Permalink
[CS] Code Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed Jan 18, 2025
1 parent bff30b6 commit 3cf2f56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/phprectorconfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@
instanceOf: true,
earlyReturn: true,
phpunitCodeQuality: true,
privatization: true,
//
carbon: false,
deadCode: false,
doctrineCodeQuality: false,
naming: false,
privatization: false,
rectorPreset: false,
symfonyCodeQuality: false,
symfonyConfigs: false,
Expand Down
2 changes: 1 addition & 1 deletion src/ZugferdPdfValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,7 @@ private function performValidation(): bool

$this->resetFileToValidateFilename();

if (file_put_contents($this->resolveFileToValidateFilename(), $this->getPdfContent()) === false) {
if (file_put_contents($this->resolveFileToValidateFilename(), $this->pdfContent) === false) {
$this->addToMessageBag("Cannot create temporary file which contains the PDF to validate");
return false;
}
Expand Down

0 comments on commit 3cf2f56

Please sign in to comment.