fix: Make the $isSuspended parameter non-compulsory
This commit is contained in:
parent
90cde768ff
commit
ca6ea10f5d
|
|
@ -99,7 +99,7 @@ class AnkiService
|
||||||
* @param class-string<T> $class
|
* @param class-string<T> $class
|
||||||
* @return list<T>
|
* @return list<T>
|
||||||
*/
|
*/
|
||||||
public function getAllFromClass(string $class, ?bool $isSuspended): array
|
public function getAllFromClass(string $class, ?bool $isSuspended = null): array
|
||||||
{
|
{
|
||||||
$ids = $this->getAllIdsFromClass($class, $isSuspended);
|
$ids = $this->getAllIdsFromClass($class, $isSuspended);
|
||||||
return $this->getNotes($ids);
|
return $this->getNotes($ids);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue