Skip to content

Commit 10e4bae

Browse files
committed
docs: update CardBody class description and constructor parameter types
1 parent 8acf5a5 commit 10e4bae

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/Ease/TWB4/CardBody.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
use Ease\Html\DivTag;
1919

2020
/**
21-
* Description of Card Body
21+
* Bootstrap 4 Card Body component.
22+
*
23+
* Renders a div element with the 'card-body' CSS class for use within Bootstrap card components.
2224
*
2325
* @author Vítězslav Dvořák <info@vitexsoftware.cz>
2426
*/
@@ -27,7 +29,7 @@ class CardBody extends DivTag
2729
/**
2830
* Card.
2931
*
30-
* @param string $content
32+
* @param mixed $content Content to be added to the card body
3133
* @param array<string, string> $properties
3234
*/
3335
public function __construct($content = null, array $properties = [])

0 commit comments

Comments
 (0)