♻️ refactor(service): Améliore la clarté en rendant des paramètres nullables et en supprimant un import.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user