1
0
Fork 0
mirror of synced 2024-05-20 20:52:36 +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.
*
* @param OldDocument $oldDocument
* @return Document
* @return Document|null
* @throws Exception
*/
protected function fixDocument(OldDocument $oldDocument): Document
protected function fixDocument(OldDocument $oldDocument): Document|null
{
$document = new Document($oldDocument->getArrayCopy());
$document = $this->migratePermissions($document);