Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig authored and github-actions[bot] committed Nov 28, 2024
1 parent 0347bb1 commit b62fef6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/DataObject/Data/Adapter/FieldCollectionsAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
final readonly class FieldCollectionsAdapter implements SetterDataInterface, DataNormalizerInterface
{
use ValidateFieldTypeTrait;

private const TYPE_KEY = 'type';

private const DATA_KEY = 'data';

public function __construct(
Expand Down
3 changes: 1 addition & 2 deletions src/DataObject/Data/Adapter/RgbaColorAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ public function getDataForSetter(
public function normalize(
mixed $value,
Data $fieldDefinition
): ?string
{
): ?string {
if (!$value instanceof RgbaColor) {
return null;
}
Expand Down

0 comments on commit b62fef6

Please sign in to comment.