Skip to content

Commit

Permalink
Fix warnings for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ajohnson6494 committed Mar 23, 2024
1 parent cb946f9 commit af2e486
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
coverage: xdebug
- name: Get composer cache directory
id: composer-cache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
- name: Cache composer dependencies
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
Expand Down
2 changes: 1 addition & 1 deletion src/CssInlinerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private function handleSymfonyEmail(Email $message): void

if ($body instanceof TextPart) {
$message->setBody($this->processPart($body));
} elseif ($body instanceof AlternativePart || $body instanceof MixedPart) {
} elseif ($body instanceof AbstractMultipartPart) {
$part_type = get_class($body);
$message->setBody(new $part_type(
...array_map(
Expand Down

0 comments on commit af2e486

Please sign in to comment.