Skip to content

Commit

Permalink
PHPDoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Jan 28, 2024
1 parent 6c45fa4 commit d363a6a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@ parameters:
count: 1
path: plugins/enigma/lib/enigma_engine.php

-
message: "#^Method Mail_mimePart\\:\\:encode\\(\\) invoked with 2 parameters, 0\\-1 required\\.$#"
count: 1
path: plugins/enigma/lib/enigma_mime_message.php

-
message: "#^Variable \\$headers might not be defined\\.$#"
count: 1
Expand Down
2 changes: 1 addition & 1 deletion plugins/enigma/lib/enigma_mime_message.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function get($params = null, $filename = null, $skip_head = false)

$this->headers = array_merge($this->headers, $headers);
} else {
$output = $message->encode($boundary, $skip_head);
$output = $message->encode($boundary);

if ($this->isError($output)) {
return $output;
Expand Down

0 comments on commit d363a6a

Please sign in to comment.