Do not error on deprecated methods for now

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-12-28 14:40:14 +01:00
parent 34f45d985f
commit 4e92faa517
11 changed files with 31 additions and 25 deletions

View File

@@ -161,6 +161,7 @@ class FullTextSearchService {
* @return IIndexDocument
*/
public function generateIndexDocumentFromCard(Card $card): IIndexDocument {
/** @psalm-var IIndexDocument */
$document = new IndexDocument(DeckProvider::DECK_PROVIDER_ID, (string)$card->getId());
return $document;
@@ -193,6 +194,7 @@ class FullTextSearchService {
public function generateDocumentAccessFromCardId(int $cardId): IDocumentAccess {
$board = $this->getBoardFromCardId($cardId);
/** @psalm-var IDocumentAccess */
return new DocumentAccess($board->getOwner());
}