Skip to content

Commit

Permalink
BUGFIX: fix errors during site:import
Browse files Browse the repository at this point in the history
This adjusts the annotation to work with Flow 8.3.13  ... before the type with spaces was interpreted as `mixed` and caused the following error during site:import.

```
During the import of the "Sites.xml" from the package "Neos.Demo" an exception occurred: Error: During import an exception occurred: "Could not convert target type "Neos\Media\Domain\Model\ImageVariant": Could not convert target type "Neos\Media\Domain\Model\Adjustment\CropImageAdjustment", at property path "aspectRatio": Could not find a suitable type converter for "mixed" because the class / interface "mixed" does not exist."., see log for further information.
```

Resolves: neos#5448
  • Loading branch information
mficzel committed Jan 22, 2025
1 parent 796fe8f commit 04628c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function getY(): ?int
/**
* This setter accepts strings in order to make configuration / mapping of settings easier.
*
* @param AspectRatio | string | null $aspectRatio
* @param AspectRatio|string|null $aspectRatio
*/
public function setAspectRatio($aspectRatio = null): void
{
Expand Down

0 comments on commit 04628c6

Please sign in to comment.