|
|
@@ -31,8 +31,8 @@ class Siret
|
|
|
* @throws \Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface
|
|
|
* @see SiretTest::testIsSiretIsCorrect()
|
|
|
*/
|
|
|
- public function isSiretIsCorrect(string $siret): bool {
|
|
|
+ public function isSiretCorrect(string $siret): bool {
|
|
|
$response = $this->clientSiret->request('GET', $siret);
|
|
|
return $response->getStatusCode() === Response::HTTP_OK;
|
|
|
}
|
|
|
-}
|
|
|
+}
|