Added manual type conversion to fix failing tests

This commit is contained in:
Dan Brown 2021-01-01 18:38:54 +00:00
parent 5e686bb624
commit b43f997dab
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9

View File

@ -28,7 +28,7 @@ class PermissionsUpdater
}
if (!is_null($ownerId)) {
$this->updateOwnerFromId($entity, $ownerId);
$this->updateOwnerFromId($entity, intval($ownerId));
}
$entity->save();