chore: Fix typings and update psalm baseline

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2023-02-15 13:29:26 +01:00
parent 997e479a69
commit 2ffecd81d4
4 changed files with 52 additions and 38 deletions

View File

@@ -39,7 +39,7 @@ class BoardSummary extends Board {
];
}
protected function getter($name) {
protected function getter(string $name): mixed {
return $this->board->getter($name);
}

View File

@@ -81,10 +81,11 @@ class CardDetails extends Card {
$array['board'] = (new BoardSummary($this->board))->jsonSerialize();
}
protected function getter($name) {
protected function getter(string $name): mixed {
return $this->card->getter($name);
}
public function __call($name, $arguments) {
return $this->card->__call($name, $arguments);
public function __call(string $methodName, array $args) {
return $this->card->__call($methodName, $args);
}
}