mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-22 07:33:50 +00:00
Fixed: correct use of scopes
This commit is contained in:
@@ -34,7 +34,7 @@ class AccompanyingCourseDocument extends Document implements HasScopesInterface
|
||||
|
||||
public function getScopes(): iterable
|
||||
{
|
||||
if (null !== $this->course) {
|
||||
if (null === $this->course) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user