Fixed: correct use of scopes

This commit is contained in:
Julien Fastré 2022-10-06 23:57:02 +02:00
parent 3a23e889e3
commit db28443008

View File

@ -34,7 +34,7 @@ class AccompanyingCourseDocument extends Document implements HasScopesInterface
public function getScopes(): iterable
{
if (null !== $this->course) {
if (null === $this->course) {
return [];
}