cs and phpstan fixes

This commit is contained in:
Dennis Eichhorn 2020-10-24 17:52:23 +02:00
parent a69ed50261
commit a8c6ff9acc
4 changed files with 17 additions and 5 deletions

View File

@ -61,7 +61,7 @@ final class KanbanBoardMapper extends DataMapperAbstract
/**
* Belongs to.
*
* @var array<string, array{mapper:string, self:string}>
* @var array<string, array{mapper:string, external:string}>
* @since 1.0.0
*/
protected static array $belongsTo = [

View File

@ -60,7 +60,7 @@ final class KanbanCardCommentMapper extends DataMapperAbstract
/**
* Belongs to.
*
* @var array<string, array{mapper:string, self:string}>
* @var array<string, array{mapper:string, external:string}>
* @since 1.0.0
*/
protected static array $belongsTo = [

View File

@ -50,7 +50,7 @@ final class KanbanCardMapper extends DataMapperAbstract
/**
* Belongs to.
*
* @var array<string, array{mapper:string, self:string}>
* @var array<string, array{mapper:string, external:string}>
* @since 1.0.0
*/
protected static array $belongsTo = [

View File

@ -40,11 +40,23 @@ class KanbanColumn implements \JsonSerializable
*/
private string $name = '';
private $order = 0;
/**
* Column order
*
* @var int
* @since 1.0.0
*/
private int $order = 0;
private $board = 0;
private $cards = [];
/**
* Cards
*
* @var array
* @since 1.0.0
*/
private array $cards = [];
/**
* Get id.