♻️ refactor(service): Améliore la clarté en rendant des paramètres nullables et en supprimant un import.

This commit is contained in:
Serreau Jovann
2026-02-10 08:54:50 +01:00
parent 0e960f3ea8
commit cced4e8bd9
2 changed files with 2 additions and 3 deletions

View File

@@ -20,8 +20,8 @@ class NotifuseClient
public function __construct(
HttpClientInterface $httpClient,
LoggerInterface $logger,
string $rootEmail = null, // From env
string $rootSecretKey = null // From env
?string $rootEmail = null, // From env
?string $rootSecretKey = null // From env
) {
$this->httpClient = $httpClient;
$this->logger = $logger;

View File

@@ -4,7 +4,6 @@ namespace App\Service\Signature;
use App\Entity\Contrats;
use App\Entity\ContratsPayments;
use App\Entity\CustomerOrder;
use App\Entity\Devis;
use App\Entity\EtatLieux;
use Doctrine\ORM\EntityManagerInterface;