Passed
Pull Request — master (#17)
by
unknown
02:42
created
autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 /**
12 12
  * @param string $class
13 13
  */
14
-    function ($class) {
14
+    function($class) {
15 15
         $prefixes = array(
16 16
             'DrillCoder\AmoCRM_Wrap\\' => array(
17 17
                 __DIR__ . '/src',
Please login to merge, or discard this patch.
src/BaseEntity.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1023,7 +1023,7 @@
 block discarded – undo
1023 1023
                 );
1024 1024
             }
1025 1025
             $url = "/private/notes/upload.php?ACTION=ADD_NOTE&ELEMENT_ID={$this->id}&ELEMENT_TYPE={$elementType}&fileapi" .
1026
-	               str_replace('.', '', microtime(true));
1026
+                str_replace('.', '', microtime(true));
1027 1027
             $res = AmoCRM::cUrl($url, $post, null, true);
1028 1028
             if ($res !== null && isset($res->status) && $res->status === 'fail') {
1029 1029
                 throw new AmoWrapException('Не удалось добавить файл');
Please login to merge, or discard this patch.
src/Base.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 
89 89
         $pathToCert = Config::getPathToPeerVerificationCert();
90 90
 
91
-        if(!empty($pathToCert)) {
91
+        if (!empty($pathToCert)) {
92 92
             curl_setopt($curl, CURLOPT_CAINFO, $pathToCert);
93 93
         }
94 94
 
Please login to merge, or discard this patch.