diff --git a/Models/KanbanCard.php b/Models/KanbanCard.php index a338fc3..0f29af6 100755 --- a/Models/KanbanCard.php +++ b/Models/KanbanCard.php @@ -249,6 +249,13 @@ class KanbanCard implements \JsonSerializable $this->ref = $ref; } + /** + * Count the amount of comments in a card + * + * @return int + * + * @since 1.0.0 + */ public function getCommentCount() : int { return \count($this->comments); diff --git a/Models/styles.tpl.json b/Models/styles.tpl.json index 3076741..a36818b 100644 --- a/Models/styles.tpl.json +++ b/Models/styles.tpl.json @@ -1,11 +1,11 @@ { - "version": "", - "board": { - "dashboard_background": "", - "board_background": "", + "version": "", + "board": { + "dashboard_background": "", + "board_background": "", - }, - "cards": [ + }, + "cards": [ - ], + ], } \ No newline at end of file diff --git a/composer.json b/composer.json index 8f2fb6d..7ad134b 100755 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ ], "require-dev": { "phpunit/phpunit": ">=9.4", - "friendsofphp/php-cs-fixer": ">=2.18", + "friendsofphp/php-cs-fixer": ">=3.0", "squizlabs/php_codesniffer": ">=3.5", "phpmd/phpmd": ">=2.9", "phpstan/phpstan": ">=0.12.58",