Eldorado : Changed alert robux price display
All checks were successful
Test, build and push image to registry / phpunit-tests (push) Successful in 2m28s
Test, build and push image to registry / build-image (push) Successful in 3m41s

This commit is contained in:
2025-12-16 12:04:12 +01:00
parent 4be1b8d477
commit 062f428fbc

View File

@@ -22,13 +22,13 @@ class EldoradoRobuxPriceNotificationBody extends NotificationBody {
* @inheritDoc * @inheritDoc
*/ */
public function toMarkdownString(): string { public function toMarkdownString(): string {
return "Le prix des Robux sur Eldorado est actuellement de **" . number_format($this->price, 7, ",", " ") . " €**/Robux, ce qui est inférieur ou égal au seuil de **" . number_format($this->threshold, 5, ",", " ") . " €**.\n\n[Voir l'offre sur Eldorado]( " . $this->link . " )"; return "Le prix des Robux sur Eldorado est actuellement de **" . number_format($this->price, 5, ",", " ") . " €**/Robux, ce qui est inférieur ou égal au seuil de **" . number_format($this->threshold, 5, ",", " ") . " €**.\n\n[Voir l'offre sur Eldorado]( " . $this->link . " )";
} }
/** /**
* @inheritDoc * @inheritDoc
*/ */
public function toString(): string { public function toString(): string {
return "Le prix des Robux sur Eldorado est actuellement de " . number_format($this->price, 7, ",", " ") . " €/Robux, ce qui est inférieur ou égal au seuil de " . number_format($this->threshold, 5, ",", " ") . " €.\n\nVoir l'offre sur Eldorado : " . $this->link; return "Le prix des Robux sur Eldorado est actuellement de " . number_format($this->price, 5, ",", " ") . " €/Robux, ce qui est inférieur ou égal au seuil de " . number_format($this->threshold, 5, ",", " ") . " €.\n\nVoir l'offre sur Eldorado : " . $this->link;
} }
} }