refactor: Fix psalm issues
- Add typing for most of the services, controllers and mappers - Add api doc for mappers - Use vendor-bin for psalm - Use attributes for controllers - Fix upload of attachments Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com>
This commit is contained in:
@@ -220,8 +220,9 @@ class DefaultBoardServiceTest extends TestCase {
|
||||
return $stack;
|
||||
}
|
||||
|
||||
private function assembleTestCard($title, $stackId, $userId) {
|
||||
private function assembleTestCard(string $title, int $stackId, string $userId): Card {
|
||||
$card = new Card();
|
||||
$card->setId(1);
|
||||
$card->setTitle($title);
|
||||
$card->setStackId($stackId);
|
||||
$card->setType('text');
|
||||
|
||||
Reference in New Issue
Block a user