diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index bf8d3c098..11692dfa3 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -33,6 +33,7 @@ pipeline: - API_HASH - BOT_TOKEN - DEST + - DEPLOY_KEY environment: - PHP_VERSION=${php} - TAG=${CI_COMMIT_TAG} diff --git a/src/Db/DriverArray.php b/src/Db/DriverArray.php index 1928472b9..9b09439f7 100644 --- a/src/Db/DriverArray.php +++ b/src/Db/DriverArray.php @@ -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; }