fix: function head
This commit is contained in:
parent
94d49f9685
commit
f477d2c359
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue