Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
martineiber authored and github-actions[bot] committed Dec 11, 2024
1 parent cf3bdc4 commit c29270d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/DataObject/Legacy/ApplyChangesHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ private function processRemoteOwnerRelations(
array $toDelete,
array $toAdd,
string $ownerFieldName
): void
{
): void {
$getter = 'get' . ucfirst($ownerFieldName);
$setter = 'set' . ucfirst($ownerFieldName);

Expand Down
3 changes: 1 addition & 2 deletions src/DataObject/Service/SelectOptionsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,7 @@ private function getProvider(Select|Multiselect $fieldDefinition): SelectOptions
private function getFieldDefinition(
SelectOptionsParameter $selectOptionsParameter,
Concrete $object
): Select|Multiselect
{
): Select|Multiselect {
$fieldDefinition = $object->getClass()->getFieldDefinition($selectOptionsParameter->getFieldName());

if (!$fieldDefinition instanceof Select && !$fieldDefinition instanceof Multiselect) {
Expand Down

0 comments on commit c29270d

Please sign in to comment.