fix: RoleScope might or might not have a Scope.

This commit is contained in:
Pol Dellaiera 2021-11-18 11:48:35 +01:00
parent 6ccc8d4cb8
commit a32692c37a
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

View File

@ -32,7 +32,7 @@ class RoleScope
* @ORM\JoinColumn(nullable=true, name="scope_id") * @ORM\JoinColumn(nullable=true, name="scope_id")
* @ORM\Cache(usage="NONSTRICT_READ_WRITE") * @ORM\Cache(usage="NONSTRICT_READ_WRITE")
*/ */
private Scope $scope; private ?Scope $scope;
/** /**
* @var Collection * @var Collection