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);