fix: function head
This commit is contained in:
parent
94d49f9685
commit
f477d2c359
|
@ -413,10 +413,10 @@ class V11 extends Migration
|
||||||
* Migrates single docuemnt.
|
* Migrates single docuemnt.
|
||||||
*
|
*
|
||||||
* @param OldDocument $oldDocument
|
* @param OldDocument $oldDocument
|
||||||
* @return Document
|
* @return Document|null
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
protected function fixDocument(OldDocument $oldDocument): Document
|
protected function fixDocument(OldDocument $oldDocument): Document|null
|
||||||
{
|
{
|
||||||
$document = new Document($oldDocument->getArrayCopy());
|
$document = new Document($oldDocument->getArrayCopy());
|
||||||
$document = $this->migratePermissions($document);
|
$document = $this->migratePermissions($document);
|
||||||
|
|
Loading…
Reference in a new issue