Completed
Push — master ( 66b80e...3455d2 )
by Maxim
02:34
created
src/Method/CompanySet.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         );
53 53
 
54 54
         $request = new Request(
55
-            'POST', $this->getUser()->getAmoCRMDomain() . 'private/api/v2/json/company/set', [], $body
55
+            'POST', $this->getUser()->getAmoCRMDomain().'private/api/v2/json/company/set', [], $body
56 56
         );
57 57
 
58 58
         return $request;
Please login to merge, or discard this patch.
examples/companySet.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 use mb24dev\AmoCRM\SessionStorage\FileSessionStorage;
11 11
 use mb24dev\AmoCRM\User\User;
12 12
 
13
-require_once __DIR__ . '/../vendor/autoload.php';
13
+require_once __DIR__.'/../vendor/autoload.php';
14 14
 
15 15
 // store strategy for sessions
16 16
 $fileStorage = new FileSessionStorage('/tmp/amocrm/');
@@ -48,4 +48,4 @@  discard block
 block discarded – undo
48 48
 
49 49
 $result = $amoCRMClient->exec($leadSet);
50 50
 
51
-echo 'LeadSet result: ' . print_r($result, true);
51
+echo 'LeadSet result: '.print_r($result, true);
Please login to merge, or discard this patch.