-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Issue
When certain comments are parsed using the MediaSingle block, it appears that the type of int is incorrect and should be a float type instead for the width variable.
Looking at the documentation, it states that width is a floating point number here:
Fix
Adjust the following variables to a float value
adf-tools/src/Node/Block/MediaSingle.php
Line 34 in b7bb3d7
private ?int $width; |
adf-tools/src/Node/Block/MediaSingle.php
Line 36 in b7bb3d7
public function __construct(string $layout, ?int $width = null, ?BlockNode $parent = null) |
adf-tools/src/Node/Block/MediaSingle.php
Line 80 in b7bb3d7
public function getWidth(): ?int |
Metadata
Metadata
Assignees
Labels
No labels