1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00

fix: function head

This commit is contained in:
Torsten Dittmann 2022-01-05 12:52:33 +01:00
parent 94d49f9685
commit f477d2c359

View file

@ -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);