diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-09-11 18:32:47 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-09-11 18:32:47 -0400 |
commit | c84df535b6bdc7260144872fc4e0c241a5a5ad61 (patch) | |
tree | d0e1dfe683fc338298f64e67e69cbbb26455e08c /app/Formatter/BoardSwimlaneFormatter.php | |
parent | d8f6d8568396816a6bfaca1e01211384e803cf91 (diff) |
Improve column restrictions
Diffstat (limited to 'app/Formatter/BoardSwimlaneFormatter.php')
-rw-r--r-- | app/Formatter/BoardSwimlaneFormatter.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Formatter/BoardSwimlaneFormatter.php b/app/Formatter/BoardSwimlaneFormatter.php index 9b2ad935..ce67c8a8 100644 --- a/app/Formatter/BoardSwimlaneFormatter.php +++ b/app/Formatter/BoardSwimlaneFormatter.php @@ -24,7 +24,7 @@ class BoardSwimlaneFormatter extends BaseFormatter implements FormatterInterface * @param array $swimlanes * @return $this */ - public function withSwimlanes($swimlanes) + public function withSwimlanes(array $swimlanes) { $this->swimlanes = $swimlanes; return $this; @@ -37,7 +37,7 @@ class BoardSwimlaneFormatter extends BaseFormatter implements FormatterInterface * @param array $columns * @return $this */ - public function withColumns($columns) + public function withColumns(array $columns) { $this->columns = $columns; return $this; |