Skip to content

Commit

Permalink
Merge branch '5.x' into 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Apr 27, 2024
2 parents 8dda330 + e13c735 commit 1dc1923
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/base/Thumbable.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ interface Thumbable
/**
* Returns the HTML for the component’s thumbnail, if it has one.
*
* @param int $size The width and height the thumbnail should have.
* @param int $size The maximum width and height the thumbnail should have.
* @return string|null
*/
public function getThumbHtml(int $size): ?string;
Expand Down
2 changes: 1 addition & 1 deletion src/base/ThumbableFieldInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ interface ThumbableFieldInterface extends FieldInterface
*
* @param mixed $value The field’s value
* @param ElementInterface $element The element the field is associated with
* @param int $size The width and height the thumbnail should have.
* @param int $size The maximum width and height the thumbnail should have.
* @return string|null
*/
public function getThumbHtml(mixed $value, ElementInterface $element, int $size): ?string;
Expand Down
2 changes: 1 addition & 1 deletion src/fieldlayoutelements/BaseField.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ public function formHtml(?ElementInterface $element = null, bool $static = false
* Returns the HTML for an element’s thumbnail.
*
* @param ElementInterface $element The element the field is associated with
* @param int $size The width and height the thumbnail should have.
* @param int $size The maximum width and height the thumbnail should have.
* @return string|null
*/
public function thumbHtml(ElementInterface $element, int $size): ?string
Expand Down

0 comments on commit 1dc1923

Please sign in to comment.