Added manual type conversion to fix failing tests
This commit is contained in:
parent
5e686bb624
commit
b43f997dab
|
@ -28,7 +28,7 @@ class PermissionsUpdater
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_null($ownerId)) {
|
if (!is_null($ownerId)) {
|
||||||
$this->updateOwnerFromId($entity, $ownerId);
|
$this->updateOwnerFromId($entity, intval($ownerId));
|
||||||
}
|
}
|
||||||
|
|
||||||
$entity->save();
|
$entity->save();
|
||||||
|
|
Loading…
Reference in New Issue