We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b8567e commit d2ad2c1Copy full SHA for d2ad2c1
src/Log/Prometheus.php
@@ -124,7 +124,7 @@ public function onPhpbuEnd(End $event)
124
foreach ($this->backupStats as $backupName => $backupStats) {
125
$this->write(
126
'phpbu_backup_size{name="' . $backupName . '"} ' .
127
- $this->backupStats[$backupName]['size'] = " " ? 0 : $this->backupStats[$backupName]['size'] .
+ ($this->backupStats[$backupName]['size'] = " " ? "0" : $this->backupStats[$backupName]['size']) .
128
PHP_EOL
129
);
130
}
0 commit comments