From ca6ea10f5d72b4594b0065d0bc84a37701a7508d Mon Sep 17 00:00:00 2001 From: Dendy Faist Date: Sat, 8 Nov 2025 08:08:44 +0100 Subject: [PATCH] fix: Make the $isSuspended parameter non-compulsory --- src/Service/AnkiService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/AnkiService.php b/src/Service/AnkiService.php index 5dbcf0c..310d827 100644 --- a/src/Service/AnkiService.php +++ b/src/Service/AnkiService.php @@ -99,7 +99,7 @@ class AnkiService * @param class-string $class * @return list */ - public function getAllFromClass(string $class, ?bool $isSuspended): array + public function getAllFromClass(string $class, ?bool $isSuspended = null): array { $ids = $this->getAllIdsFromClass($class, $isSuspended); return $this->getNotes($ids);