Commit d3eb116d authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction toString cassé

parent 1f5997cb
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -81,12 +81,10 @@ class ServiceReferentiel implements HistoriqueAwareInterface, ResourceInterface,

    public function __toString(): string
    {
        $heures = Util::formattedFloat($this->getHeures(), \NumberFormatter::DECIMAL, -1);

        return sprintf("%s%s : %s (%sh)",
        return sprintf("%s : %s",
            $this->getStructure() ? " - " . $this->getStructure() : null,
            $this->getFonctionReferentiel(),
            $heures);
            $this->getFonctionReferentiel()
        );
    }