Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
leitge authored and github-actions[bot] committed Feb 29, 2024
1 parent d7012e4 commit 4c2344c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GraphQL/Mutation/MutationType.php
Original file line number Diff line number Diff line change
Expand Up @@ -1581,7 +1581,7 @@ protected function saveElement($element, $options): void
Version::disable();
}

$element->save(["versionNote" => isset($options['versionNote']) ? $options['versionNote'] : null]);
$element->save(['versionNote' => isset($options['versionNote']) ? $options['versionNote'] : null]);

Check failure on line 1584 in src/GraphQL/Mutation/MutationType.php

View workflow job for this annotation

GitHub Actions / Static Analysis with PHPStan (8.0, lowest, false)

Method Pimcore\Model\Element\ElementInterface::save() invoked with 1 parameter, 0 required.

if (isset($options['omitVersionCreate']) && $options['omitVersionCreate'] && !$omitVersionCreateBefore) {
Version::enable();
Expand Down

0 comments on commit 4c2344c

Please sign in to comment.