Passed
Branch master (fcacfd)
by Anatoliy
02:23
created
src/Api.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,14 +39,14 @@
 block discarded – undo
39 39
 
40 40
     public function innCheck(InnValue $inn): CurlResponse
41 41
     {
42
-        return $this->send($this->urlCheckInn,http_build_query(['companyinn'=>$inn->getInn()]));
42
+        return $this->send($this->urlCheckInn, http_build_query(['companyinn'=>$inn->getInn()]));
43 43
     }
44 44
 
45 45
     private function send($url, string $data = null, string $method = 'POST'): CurlResponse
46 46
     {
47 47
         $curl = curl_init();
48 48
 
49
-        if(!$curl){
49
+        if (!$curl) {
50 50
             throw new \Exception('Curl not initialize');
51 51
         }
52 52
 
Please login to merge, or discard this patch.