1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 23:34:44 +01:00

Fix migration

This commit is contained in:
Daniil Gentili 2023-05-29 14:53:21 +02:00
parent 2a7e4f7833
commit 0fa1f1ac48
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ pipeline:
- API_HASH
- BOT_TOKEN
- DEST
- DEPLOY_KEY
environment:
- PHP_VERSION=${php}
- TAG=${CI_COMMIT_TAG}

View File

@ -236,7 +236,7 @@ abstract class DriverArray implements DbArray, IteratorAggregate
}
$base = \str_replace('NullCache\\', '', $instance::class);
if ($include_serialization_type && $instance instanceof DriverArray) {
$base .= ' ('.$instance->dbSettings->getSerializer()->value.')';
$base .= ' ('.($instance->dbSettings->getSerializer()?->value ?? 'default').')';
}
return $base;
}