Passed
Pull Request — master (#18)
by Vladislav
07:44
created
src/BybitAPI.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      */
64 64
     protected function exception(\Exception $e)
65 65
     {
66
-       /* echo json_encode([
66
+        /* echo json_encode([
67 67
             'code' => $e->getCode(),
68 68
             'message' => $e->getMessage()
69 69
         ]); */
Please login to merge, or discard this patch.
src/Core/Objects/AbstractParameters.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
         $entityMethods = get_class_methods($this);
20 20
         $params = [];
21 21
 
22
-        array_walk($entityMethods, function ($method) use (&$entity, &$params) {
22
+        array_walk($entityMethods, function($method) use (&$entity, &$params) {
23 23
             if (substr($method, 0, 3) == 'get') {
24 24
                 $entityProperty = lcfirst(substr($method, 3));
25 25
                 if (isset($entity->$entityProperty)) {
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
                     $params[$entityProperty] = $ePropertyVal;
34 34
 
35 35
                     $propIndex = array_search($entityProperty, $entity->requiredFields, true);
36
-                    if($propIndex > -1 && !empty($params[$entityProperty])) {
36
+                    if ($propIndex > -1 && !empty($params[$entityProperty])) {
37 37
                         unset($entity->requiredFields[$propIndex]);
38 38
                     }
39 39
 
Please login to merge, or discard this patch.